@scalar/api-client 2.3.22 → 2.3.24

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.
Files changed (26) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +1 -1
  3. package/dist/components/IconSelector.vue.js +1 -1
  4. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts.map +1 -1
  5. package/dist/components/ImportCollection/PasteEventListener.vue.js +12 -11
  6. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +1 -1
  7. package/dist/components/TopNav/TopNav.vue.js +1 -1
  8. package/dist/components/TopNav/TopNavItem.vue.js +2 -2
  9. package/dist/components/TopNav/TopNavItem.vue2.js +1 -1
  10. package/dist/layouts/App/create-api-client-app.d.ts +6 -6
  11. package/dist/layouts/Modal/create-api-client-modal.d.ts +14 -14
  12. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  13. package/dist/layouts/Web/create-api-client-web.d.ts +6 -6
  14. package/dist/libs/create-client.d.ts +6 -6
  15. package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
  16. package/dist/libs/send-request/create-request-operation.js +52 -52
  17. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  18. package/dist/style.css +1 -1
  19. package/dist/views/Collection/CollectionInfoForm.vue.js +2 -2
  20. package/dist/views/Collection/CollectionInfoForm.vue2.js +1 -1
  21. package/dist/views/Collection/CollectionNavigation.vue.js +1 -1
  22. package/dist/views/Environment/Environment.vue2.js +1 -1
  23. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  24. package/dist/views/Request/RequestSidebar.vue2.js +1 -1
  25. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  26. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.3.24
4
+
5
+ ### Patch Changes
6
+
7
+ - 3cb857d: fix: updates import collection modal transition style
8
+ - 3cb857d: fix: updates web layout background style target
9
+ - Updated dependencies [17e7d02]
10
+ - Updated dependencies [2b61d8e]
11
+ - Updated dependencies [49f1297]
12
+ - Updated dependencies [ab4cf5a]
13
+ - @scalar/types@0.1.9
14
+ - @scalar/components@0.13.51
15
+ - @scalar/use-hooks@0.1.43
16
+ - @scalar/icons@0.3.0
17
+ - @scalar/oas-utils@0.2.134
18
+ - @scalar/openapi-parser@0.10.16
19
+ - @scalar/snippetz@0.2.19
20
+ - @scalar/themes@0.10.1
21
+ - @scalar/use-codemirror@0.11.96
22
+ - @scalar/import@0.3.17
23
+ - @scalar/postman-to-openapi@0.2.7
24
+
25
+ ## 2.3.23
26
+
27
+ ### Patch Changes
28
+
29
+ - 363276e: feat(icons): add Phosphor icons to @scalar/icons
30
+ - 85163e7: fix: accidental collection creation on paste in codemirror
31
+ - 301cf13: fix: prevents paste event from code mirrro instance
32
+ - 85163e7: fix: incorrect stream reader
33
+ - Updated dependencies [363276e]
34
+ - Updated dependencies [a9f232a]
35
+ - @scalar/icons@0.2.0
36
+ - @scalar/components@0.13.50
37
+ - @scalar/use-hooks@0.1.42
38
+ - @scalar/use-codemirror@0.11.95
39
+
3
40
  ## 2.3.22
4
41
 
5
42
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as v, ref as u, openBlock as b, createBlock as _, withCtx as l, createVNode as r, unref as c, createTextVNode as k } from "vue";
2
2
  import { ScalarButton as C } from "@scalar/components";
3
- import { LibraryIcon as V } from "@scalar/icons";
3
+ import { LibraryIcon as V } from "@scalar/icons/library";
4
4
  import { useToasts as x } from "@scalar/use-toasts";
5
5
  import N from "../IconSelector.vue.js";
6
6
  import { useActiveEntities as B } from "../../store/active-entities.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as g, computed as V, openBlock as s, createBlock as n, unref as e, withCtx as o, createVNode as a, createElementVNode as u, renderSlot as d, createTextVNode as p, createElementBlock as k, Fragment as y, renderList as _, toDisplayString as w } from "vue";
2
2
  import { RadioGroup as S, RadioGroupLabel as m, RadioGroupOption as C } from "@headlessui/vue";
3
3
  import { ScalarPopover as I } from "@scalar/components";
4
- import { libraryIcons as h, LibraryIcon as B } from "@scalar/icons";
4
+ import { libraryIcons as h, LibraryIcon as B } from "@scalar/icons/library";
5
5
  const G = { class: "flex text-sm" }, L = { class: "bg-b-1 custom-scroll grid w-dvw max-w-[420px] auto-rows-[32px] grid-cols-[repeat(auto-fill,minmax(32px,1fr))] content-between justify-between rounded border p-1" }, $ = /* @__PURE__ */ g({
6
6
  __name: "IconSelector",
7
7
  props: {
@@ -1 +1 @@
1
- {"version":3,"file":"PasteEventListener.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/PasteEventListener.vue"],"names":[],"mappings":";;;;;AA4IA,wBAMG"}
1
+ {"version":3,"file":"PasteEventListener.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/PasteEventListener.vue"],"names":[],"mappings":";;;;;AAwJA,wBAMG"}
@@ -1,24 +1,25 @@
1
- import { defineComponent as i, onMounted as r, onBeforeUnmount as c } from "vue";
2
- const u = /* @__PURE__ */ i({
1
+ import { defineComponent as c, onMounted as m, onBeforeUnmount as u } from "vue";
2
+ const l = /* @__PURE__ */ c({
3
3
  __name: "PasteEventListener",
4
4
  emits: ["input"],
5
- setup(m, { emit: o }) {
6
- const s = o;
7
- r(() => {
5
+ setup(d, { emit: s }) {
6
+ const i = s;
7
+ m(() => {
8
8
  document.addEventListener("paste", n);
9
- }), c(() => {
9
+ }), u(() => {
10
10
  document.removeEventListener("paste", n);
11
11
  });
12
12
  async function n(e) {
13
- const t = e.target;
14
- if (!(t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable)) && e.clipboardData) {
15
- const a = e.clipboardData.getData("text");
16
- a && s("input", a, null, "paste");
13
+ var a;
14
+ const t = e.target, r = !!((a = document.activeElement) != null && a.classList.contains("cm-content"));
15
+ if (!(t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable || r)) && e.clipboardData) {
16
+ const o = e.clipboardData.getData("text");
17
+ o && i("input", o, null, "paste");
17
18
  }
18
19
  }
19
20
  return (e, t) => null;
20
21
  }
21
22
  });
22
23
  export {
23
- u as default
24
+ l as default
24
25
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, ref as u, openBlock as f, createBlock as v, withCtx as n, createElementVNode as m, createVNode as l, unref as s } from "vue";
2
2
  import { ScalarButton as x, ScalarTextInput as V } from "@scalar/components";
3
- import { LibraryIcon as _ } from "@scalar/icons";
3
+ import { LibraryIcon as _ } from "@scalar/icons/library";
4
4
  import b from "../../IconSelector.vue.js";
5
5
  import S from "./SidebarListElementForm.vue.js";
6
6
  const C = { class: "grid grid-cols-[auto,1fr] gap-2" }, g = { class: "flex aspect-square" }, $ = /* @__PURE__ */ p({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as O, reactive as W, ref as D, computed as L, watch as I, onMounted as K, onBeforeUnmount as q, openBlock as p, createElementBlock as g, createElementVNode as h, createVNode as r, unref as i, withCtx as m, createBlock as k, createCommentVNode as F, toDisplayString as H, createTextVNode as U, Fragment as G, renderList as J } from "vue";
2
2
  import { ScalarContextMenu as P, ScalarIcon as C, ScalarFloating as Q, ScalarDropdownMenu as X, ScalarDropdownButton as A } from "@scalar/components";
3
- import { LibraryIcon as Y } from "@scalar/icons";
3
+ import { LibraryIcon as Y } from "@scalar/icons/library";
4
4
  import { useClipboard as Z } from "@scalar/use-hooks/useClipboard";
5
5
  import { useRouter as ee } from "vue-router";
6
6
  import te from "../ScalarHotkey.vue.js";
@@ -1,7 +1,7 @@
1
1
  import o from "./TopNavItem.vue2.js";
2
2
  /* empty css */
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3f2a2c71"]]);
3
+ import a from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = /* @__PURE__ */ a(o, [["__scopeId", "data-v-ada738af"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as d, openBlock as a, createBlock as r, unref as t, withCtx as l, createVNode as o, createElementVNode as c, normalizeClass as f, toDisplayString as u, createCommentVNode as g, createTextVNode as m } from "vue";
2
2
  import { ScalarContextMenu as y, ScalarTooltip as C, ScalarIcon as n, ScalarFloating as b, ScalarDropdownMenu as v, ScalarDropdownButton as p, ScalarDropdownDivider as T } from "@scalar/components";
3
- import { LibraryIcon as $ } from "@scalar/icons";
3
+ import { LibraryIcon as $ } from "@scalar/icons/library";
4
4
  import k from "../ScalarHotkey.vue.js";
5
5
  const w = { class: "nav-item-icon-copy flex flex-1 items-center justify-center gap-1.5" }, z = { class: "custom-scroll nav-item-copy text-xs" }, V = /* @__PURE__ */ d({
6
6
  __name: "TopNavItem",
@@ -434,10 +434,10 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
434
434
  integration?: string | null | undefined;
435
435
  useCollectionSecurity?: boolean | undefined;
436
436
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
437
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
437
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
438
438
  useCollectionSecurity?: boolean;
439
439
  shouldLoad?: boolean;
440
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
440
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
441
441
  error: false;
442
442
  collection: import("@scalar/oas-utils/entities/spec").Collection;
443
443
  requests: import("@scalar/oas-utils/entities/spec").Request[];
@@ -486,10 +486,10 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
486
486
  integration?: string | null | undefined;
487
487
  useCollectionSecurity?: boolean | undefined;
488
488
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
489
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
489
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
490
490
  useCollectionSecurity?: boolean;
491
491
  shouldLoad?: boolean;
492
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
492
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
493
493
  uid?: string | undefined;
494
494
  type?: "collection" | undefined;
495
495
  externalDocs?: {
@@ -528,10 +528,10 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
528
528
  integration?: string | null | undefined;
529
529
  useCollectionSecurity?: boolean | undefined;
530
530
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
531
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
531
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
532
532
  useCollectionSecurity?: boolean;
533
533
  shouldLoad?: boolean;
534
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
534
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
535
535
  error: false;
536
536
  collection: import("@scalar/oas-utils/entities/spec").Collection;
537
537
  requests: import("@scalar/oas-utils/entities/spec").Request[];
@@ -6,7 +6,7 @@ import { type CreateApiClientParams } from '../../libs';
6
6
  */
7
7
  export declare const createApiClientModal: ({ el, configuration, mountOnInitialize, store, }: Partial<Pick<CreateApiClientParams, "el" | "configuration" | "mountOnInitialize" | "store">>) => Promise<{
8
8
  app: import("vue").App<Element>;
9
- updateConfig: (_newConfig: Partial<import("@scalar/types/api-reference").ApiClientConfiguration>) => Promise<void>;
9
+ updateConfig: (_newConfig: Partial<import("@scalar/types").ApiClientConfiguration>) => Promise<void>;
10
10
  updateServer: (serverUrl: string) => void;
11
11
  onUpdateServer: (callback: (url: string) => void) => void;
12
12
  updateAuth: <P extends import("@scalar/object-utils/nested").Path<import("@scalar/types/entities").SecurityScheme>>({ nameKey, propertyKey, value, }: {
@@ -436,10 +436,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
436
436
  integration?: string | null | undefined;
437
437
  useCollectionSecurity?: boolean | undefined;
438
438
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
439
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
439
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
440
440
  useCollectionSecurity?: boolean;
441
441
  shouldLoad?: boolean;
442
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
442
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
443
443
  error: false;
444
444
  collection: import("@scalar/oas-utils/entities/spec").Collection;
445
445
  requests: import("@scalar/oas-utils/entities/spec").Request[];
@@ -488,10 +488,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
488
488
  integration?: string | null | undefined;
489
489
  useCollectionSecurity?: boolean | undefined;
490
490
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
491
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
491
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
492
492
  useCollectionSecurity?: boolean;
493
493
  shouldLoad?: boolean;
494
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
494
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
495
495
  uid?: string | undefined;
496
496
  type?: "collection" | undefined;
497
497
  externalDocs?: {
@@ -530,10 +530,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
530
530
  integration?: string | null | undefined;
531
531
  useCollectionSecurity?: boolean | undefined;
532
532
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
533
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
533
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
534
534
  useCollectionSecurity?: boolean;
535
535
  shouldLoad?: boolean;
536
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
536
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
537
537
  error: false;
538
538
  collection: import("@scalar/oas-utils/entities/spec").Collection;
539
539
  requests: import("@scalar/oas-utils/entities/spec").Request[];
@@ -3740,7 +3740,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
3740
3740
  */
3741
3741
  export declare const createApiClientModalSync: ({ el, configuration, mountOnInitialize, store, }: Partial<Pick<CreateApiClientParams, "el" | "configuration" | "mountOnInitialize" | "store">>) => {
3742
3742
  app: import("vue").App<Element>;
3743
- updateConfig: (_newConfig: Partial<import("@scalar/types/api-reference").ApiClientConfiguration>) => Promise<void>;
3743
+ updateConfig: (_newConfig: Partial<import("@scalar/types").ApiClientConfiguration>) => Promise<void>;
3744
3744
  updateServer: (serverUrl: string) => void;
3745
3745
  onUpdateServer: (callback: (url: string) => void) => void;
3746
3746
  updateAuth: <P extends import("@scalar/object-utils/nested").Path<import("@scalar/types/entities").SecurityScheme>>({ nameKey, propertyKey, value, }: {
@@ -4170,10 +4170,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
4170
4170
  integration?: string | null | undefined;
4171
4171
  useCollectionSecurity?: boolean | undefined;
4172
4172
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
4173
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
4173
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
4174
4174
  useCollectionSecurity?: boolean;
4175
4175
  shouldLoad?: boolean;
4176
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
4176
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
4177
4177
  error: false;
4178
4178
  collection: import("@scalar/oas-utils/entities/spec").Collection;
4179
4179
  requests: import("@scalar/oas-utils/entities/spec").Request[];
@@ -4222,10 +4222,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
4222
4222
  integration?: string | null | undefined;
4223
4223
  useCollectionSecurity?: boolean | undefined;
4224
4224
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
4225
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
4225
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
4226
4226
  useCollectionSecurity?: boolean;
4227
4227
  shouldLoad?: boolean;
4228
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
4228
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
4229
4229
  uid?: string | undefined;
4230
4230
  type?: "collection" | undefined;
4231
4231
  externalDocs?: {
@@ -4264,10 +4264,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
4264
4264
  integration?: string | null | undefined;
4265
4265
  useCollectionSecurity?: boolean | undefined;
4266
4266
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
4267
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
4267
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
4268
4268
  useCollectionSecurity?: boolean;
4269
4269
  shouldLoad?: boolean;
4270
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
4270
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
4271
4271
  error: false;
4272
4272
  collection: import("@scalar/oas-utils/entities/spec").Collection;
4273
4273
  requests: import("@scalar/oas-utils/entities/spec").Request[];
@@ -1 +1 @@
1
- {"version":3,"file":"ApiClientWeb.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/Web/ApiClientWeb.vue"],"names":[],"mappings":";AA0RA,wBAKG"}
1
+ {"version":3,"file":"ApiClientWeb.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/Web/ApiClientWeb.vue"],"names":[],"mappings":";AA6RA,wBAKG"}
@@ -434,10 +434,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
434
434
  integration?: string | null | undefined;
435
435
  useCollectionSecurity?: boolean | undefined;
436
436
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
437
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
437
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
438
438
  useCollectionSecurity?: boolean;
439
439
  shouldLoad?: boolean;
440
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
440
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
441
441
  error: false;
442
442
  collection: import("@scalar/oas-utils/entities/spec").Collection;
443
443
  requests: import("@scalar/oas-utils/entities/spec").Request[];
@@ -486,10 +486,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
486
486
  integration?: string | null | undefined;
487
487
  useCollectionSecurity?: boolean | undefined;
488
488
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
489
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
489
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
490
490
  useCollectionSecurity?: boolean;
491
491
  shouldLoad?: boolean;
492
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
492
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
493
493
  uid?: string | undefined;
494
494
  type?: "collection" | undefined;
495
495
  externalDocs?: {
@@ -528,10 +528,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
528
528
  integration?: string | null | undefined;
529
529
  useCollectionSecurity?: boolean | undefined;
530
530
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
531
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
531
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
532
532
  useCollectionSecurity?: boolean;
533
533
  shouldLoad?: boolean;
534
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
534
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
535
535
  error: false;
536
536
  collection: import("@scalar/oas-utils/entities/spec").Collection;
537
537
  requests: import("@scalar/oas-utils/entities/spec").Request[];
@@ -513,10 +513,10 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
513
513
  integration?: string | null | undefined;
514
514
  useCollectionSecurity?: boolean | undefined;
515
515
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
516
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
516
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
517
517
  useCollectionSecurity?: boolean;
518
518
  shouldLoad?: boolean;
519
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
519
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
520
520
  error: false;
521
521
  collection: import("@scalar/oas-utils/entities/spec").Collection;
522
522
  requests: import("@scalar/oas-utils/entities/spec").Request[];
@@ -565,10 +565,10 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
565
565
  integration?: string | null | undefined;
566
566
  useCollectionSecurity?: boolean | undefined;
567
567
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
568
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
568
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
569
569
  useCollectionSecurity?: boolean;
570
570
  shouldLoad?: boolean;
571
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("./errors").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
571
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("./errors").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
572
572
  uid?: string | undefined;
573
573
  type?: "collection" | undefined;
574
574
  externalDocs?: {
@@ -607,10 +607,10 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
607
607
  integration?: string | null | undefined;
608
608
  useCollectionSecurity?: boolean | undefined;
609
609
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
610
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
610
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "slug" | "authentication" | "baseServerURL" | "servers"> & {
611
611
  useCollectionSecurity?: boolean;
612
612
  shouldLoad?: boolean;
613
- } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
613
+ } & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers">) => Promise<{
614
614
  error: false;
615
615
  collection: import("@scalar/oas-utils/entities/spec").Collection;
616
616
  requests: import("@scalar/oas-utils/entities/spec").Request[];
@@ -1 +1 @@
1
- {"version":3,"file":"create-request-operation.d.ts","sourceRoot":"","sources":["../../../src/libs/send-request/create-request-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,aAAa,EAAkB,MAAM,eAAe,CAAA;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAQhD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAC/D,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AAKxC,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtD,uGAAuG;AACvG,KAAK,mBAAmB,GAAG,OAAO,CAChC,aAAa,CAAC;IACZ,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAC,CACH,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAA;AAE/D,0BAA0B;AAC1B,eAAO,MAAM,sBAAsB,6HAUhC;IACD,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,OAAO,EAAE,cAAc,CAAA;IACvB,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,OAAO,EAAE,SAAS,CAAA;IAClB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IAC/C,0BAA0B,CAAC,EAAE,SAAS,CAAC,4BAA4B,CAAC,CAAA;IACpE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,MAAM,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAA;CACjC,KAAG,aAAa,CAAC;IAChB,UAAU,EAAE,eAAe,CAAA;IAC3B,WAAW,EAAE,MAAM,mBAAmB,CAAA;IACtC,OAAO,EAAE,OAAO,CAAA;CACjB,CAuMA,CAAA"}
1
+ {"version":3,"file":"create-request-operation.d.ts","sourceRoot":"","sources":["../../../src/libs/send-request/create-request-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,aAAa,EAAkB,MAAM,eAAe,CAAA;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAQhD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAC/D,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AAKxC,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtD,uGAAuG;AACvG,KAAK,mBAAmB,GAAG,OAAO,CAChC,aAAa,CAAC;IACZ,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAC,CACH,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAA;AAE/D,0BAA0B;AAC1B,eAAO,MAAM,sBAAsB,6HAUhC;IACD,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,OAAO,EAAE,cAAc,CAAA;IACvB,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,OAAO,EAAE,SAAS,CAAA;IAClB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IAC/C,0BAA0B,CAAC,EAAE,SAAS,CAAC,4BAA4B,CAAC,CAAA;IACpE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,MAAM,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAA;CACjC,KAAG,aAAa,CAAC;IAChB,UAAU,EAAE,eAAe,CAAA;IAC3B,WAAW,EAAE,MAAM,mBAAmB,CAAA;IACtC,OAAO,EAAE,OAAO,CAAA;CACjB,CA0MA,CAAA"}
@@ -1,75 +1,75 @@
1
- import { ERRORS as k, normalizeError as C } from "../errors.js";
2
- import { normalizeHeaders as I } from "../normalize-headers.js";
3
- import { createFetchBody as Q } from "./create-fetch-body.js";
4
- import { createFetchHeaders as V } from "./create-fetch-headers.js";
5
- import { createFetchQueryParams as X } from "./create-fetch-query-params.js";
6
- import { decodeBuffer as K } from "./decode-buffer.js";
7
- import { setRequestCookies as M, getCookieHeader as Y } from "./set-request-cookies.js";
1
+ import { ERRORS as R, normalizeError as C } from "../errors.js";
2
+ import { normalizeHeaders as Q } from "../normalize-headers.js";
3
+ import { createFetchBody as V } from "./create-fetch-body.js";
4
+ import { createFetchHeaders as X } from "./create-fetch-headers.js";
5
+ import { createFetchQueryParams as K } from "./create-fetch-query-params.js";
6
+ import { decodeBuffer as M } from "./decode-buffer.js";
7
+ import { setRequestCookies as Y, getCookieHeader as G } from "./set-request-cookies.js";
8
8
  import { replaceTemplateVariables as d } from "../string-template.js";
9
- import { isDefined as G, mergeUrls as J, shouldUseProxy as R, redirectToProxy as N } from "@scalar/oas-utils/helpers";
10
- import { buildRequestSecurity as Z } from "./build-request-security.js";
11
- const me = ({
12
- environment: P,
9
+ import { isDefined as J, mergeUrls as N, shouldUseProxy as P, redirectToProxy as Z } from "@scalar/oas-utils/helpers";
10
+ import { buildRequestSecurity as $ } from "./build-request-security.js";
11
+ const he = ({
12
+ environment: T,
13
13
  example: s,
14
- globalCookies: T,
15
- proxyUrl: h,
14
+ globalCookies: q,
15
+ proxyUrl: m,
16
16
  request: c,
17
- securitySchemes: U,
18
- selectedSecuritySchemeUids: q = [],
17
+ securitySchemes: H,
18
+ selectedSecuritySchemeUids: U = [],
19
19
  server: i,
20
20
  status: r
21
21
  }) => {
22
22
  try {
23
- const t = P ?? {}, p = new AbortController(), y = s.parameters.path.reduce((o, n) => (n.enabled && (o[n.key] = d(n.value, t)), o), {}), H = d((i == null ? void 0 : i.url) ?? "", t), m = d(c.path, y);
24
- let a = H || m;
23
+ const t = T ?? {}, y = new AbortController(), b = s.parameters.path.reduce((o, n) => (n.enabled && (o[n.key] = d(n.value, t)), o), {}), D = d((i == null ? void 0 : i.url) ?? "", t), h = d(c.path, b);
24
+ let a = D || h;
25
25
  if (!a)
26
- throw k.URL_EMPTY;
26
+ throw R.URL_EMPTY;
27
27
  Object.entries((i == null ? void 0 : i.variables) ?? {}).forEach(([o, n]) => {
28
28
  a = d(a, {
29
- [o]: y[o] || n.default
29
+ [o]: b[o] || n.default
30
30
  });
31
31
  });
32
- const L = X(s, t), D = V(s, t), { body: E } = Q(c.method, s, t), { cookieParams: z } = M({
32
+ const E = K(s, t), L = X(s, t), { body: z } = V(c.method, s, t), { cookieParams: F } = Y({
33
33
  example: s,
34
34
  env: t,
35
- globalCookies: T,
35
+ globalCookies: q,
36
36
  serverUrl: a,
37
- proxyUrl: h
38
- }), F = q.flat().map((o) => U[o]).filter(G), u = Z(F, t), l = { ...Object.entries(u.headers).reduce(
39
- (o, [n, e]) => (o[n.toLowerCase()] = e, o),
37
+ proxyUrl: m
38
+ }), _ = U.flat().map((o) => H[o]).filter(J), f = $(_, t), l = { ...Object.entries(f.headers).reduce(
39
+ (o, [n, u]) => (o[n.toLowerCase()] = u, o),
40
40
  {}
41
- ), ...D }, O = [...z, ...u.cookies], _ = new URLSearchParams([...L, ...u.urlParams]);
42
- a = J(a, m, _);
43
- const f = d(Y(O, l.Cookie), t);
44
- f && (R(h, a) ? (console.warn(
41
+ ), ...L }, B = [...F, ...f.cookies], O = new URLSearchParams([...E, ...f.urlParams]);
42
+ a = N(a, h, O);
43
+ const p = d(G(B, l.Cookie), t);
44
+ p && (P(m, a) ? (console.warn(
45
45
  "We’re using a `X-Scalar-Cookie` custom header to the request. The proxy will forward this as a `Cookie` header. We do this to avoid the browser omitting the `Cookie` header for cross-origin requests for security reasons."
46
- ), l["X-Scalar-Cookie"] = f) : (console.warn(
46
+ ), l["X-Scalar-Cookie"] = p) : (console.warn(
47
47
  `We’re trying to add a Cookie header, but browsers often omit them for cross-origin requests for various security reasons. If it’s not working, that’s probably why. Here are the requirements for it to work:
48
48
 
49
49
  - The browser URL must be on the same domain as the server URL.
50
50
  - The connection must be made over HTTPS.
51
51
  `
52
- ), l.Cookie = f));
53
- const B = N(h, a), b = new Request(B, {
52
+ ), l.Cookie = p));
53
+ const W = Z(m, a), S = new Request(W, {
54
54
  method: c.method.toUpperCase(),
55
- body: E ?? null,
55
+ body: z ?? null,
56
56
  headers: l
57
57
  });
58
58
  return [
59
59
  null,
60
60
  {
61
- request: b,
61
+ request: S,
62
62
  sendRequest: async () => {
63
- var n;
63
+ var n, u;
64
64
  r == null || r.emit("start");
65
65
  const o = Date.now();
66
66
  try {
67
- const e = await fetch(b, {
68
- signal: p.signal
69
- }), W = !e.headers.get("content-length") && e.body !== null && !e.bodyUsed;
67
+ const e = await fetch(S, {
68
+ signal: y.signal
69
+ }), j = (n = e.headers.get("content-type")) == null ? void 0 : n.includes("stream");
70
70
  r == null || r.emit("stop");
71
- const g = I(e.headers, R(h, a)), j = e.headers.get("content-type") ?? "text/plain;charset=UTF-8", S = "getSetCookie" in e.headers && typeof e.headers.getSetCookie == "function" ? e.headers.getSetCookie() : [];
72
- if (W)
71
+ const w = Q(e.headers, P(m, a)), A = e.headers.get("content-type") ?? "text/plain;charset=UTF-8", g = "getSetCookie" in e.headers && typeof e.headers.getSetCookie == "function" ? e.headers.getSetCookie() : [];
72
+ if (j && e.body)
73
73
  return [
74
74
  null,
75
75
  {
@@ -77,17 +77,17 @@ const me = ({
77
77
  request: s,
78
78
  response: {
79
79
  ...e,
80
- headers: g,
81
- cookieHeaderKeys: S,
82
- reader: (n = e.body) == null ? void 0 : n.getReader(),
80
+ headers: w,
81
+ cookieHeaderKeys: g,
82
+ reader: (u = e.body) == null ? void 0 : u.getReader(),
83
83
  duration: Date.now() - o,
84
84
  method: c.method,
85
85
  status: e.status,
86
- path: m
86
+ path: h
87
87
  }
88
88
  }
89
89
  ];
90
- const w = await e.arrayBuffer(), A = K(w, j);
90
+ const k = await e.arrayBuffer(), I = M(k, A);
91
91
  return [
92
92
  null,
93
93
  {
@@ -95,22 +95,22 @@ const me = ({
95
95
  request: s,
96
96
  response: {
97
97
  ...e,
98
- headers: g,
99
- cookieHeaderKeys: S,
100
- data: A,
101
- size: w.byteLength,
98
+ headers: w,
99
+ cookieHeaderKeys: g,
100
+ data: I,
101
+ size: k.byteLength,
102
102
  duration: Date.now() - o,
103
103
  method: c.method,
104
104
  status: e.status,
105
- path: m
105
+ path: h
106
106
  }
107
107
  }
108
108
  ];
109
109
  } catch (e) {
110
- return r == null || r.emit("abort"), [C(e, k.REQUEST_FAILED), null];
110
+ return r == null || r.emit("abort"), [C(e, R.REQUEST_FAILED), null];
111
111
  }
112
112
  },
113
- controller: p
113
+ controller: y
114
114
  }
115
115
  ];
116
116
  } catch (t) {
@@ -118,5 +118,5 @@ const me = ({
118
118
  }
119
119
  };
120
120
  export {
121
- me as createRequestOperation
121
+ he as createRequestOperation
122
122
  };
@@ -1 +1 @@
1
- {"version":3,"file":"create-request-operation.test.d.ts","sourceRoot":"","sources":["../../../src/libs/send-request/create-request-operation.test.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,aAAa,EAElB,oBAAoB,EAIrB,MAAM,iCAAiC,CAAA;AAExC,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAS5B,eAAO,MAAM,QAAQ,0BAAkC,CAAA;AAEvD,KAAK,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,KAAK,kBAAkB,GAAG;IACxB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,qDAAqD;AACrD,eAAO,MAAM,oBAAoB,wBAAwB,kBAAkB;;;sBAu7B5D,EAAG,KAAK;;;+CAGZ,EAAG,KAAK,gCAA+B,EAAG,KAAK;qCAEtD,EAAA,KACJ;2BACyC,EAAG,KAC5C;4BAAsC,EAAG,KAAK;;;;;;uBAQlC,CAAZ;;;;;;;;;;;;;uBAUqD,CAAC;mBAE1C,CAAV;kBACU,CAAC;mBAEC,CAAC;iBAAwB,CAAC;oBAMlB,CAAC;qBAAgD,CAAC;uBAE7C,CAAC;;;;;;;iBAKhB,CAAC;gBACP,CAAH;;;;iBAIsC,CAAC;gBAC/B,CAAC;;;;iBAIF,CAAN;gBAAkC,CAAC;;;;;;;sBAkF4rT,EAAG,KAAK;;;;;oBAA0I,CAAC;;;;;2BAA8I,CAAC;wBAA0C,CAAC;2BAAwD,CAAC;+BAAiD,CAAC;2BAA6C,CAAC;4BAA+B,CAAC;4BAA+C,CAAC;0BAA8C,CAAC;wBAA0C,CAAC;wBAA4C,CAAC;4BAA+B,CAAC;;;;kBAA+H,CAAC;eAA+B,CAAC;;;wBAA2I,CAAC;;;;;;;;uBAA2L,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;;;;uBAA0J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;;;;uBAA4J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;;;;uBAA4J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;+BAAqE,EAAG,KAAK;;;;sBAj1Bn/Z,EAAG,KAAK;;;;iBAGI,CAAC;uBAG5C,CAAJ;mBAAqC,CAAC;gBAChC,CAAL;;;;;CA9NA,CAAA"}
1
+ {"version":3,"file":"create-request-operation.test.d.ts","sourceRoot":"","sources":["../../../src/libs/send-request/create-request-operation.test.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,aAAa,EAElB,oBAAoB,EAIrB,MAAM,iCAAiC,CAAA;AAExC,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAS5B,eAAO,MAAM,QAAQ,0BAAkC,CAAA;AAEvD,KAAK,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,KAAK,kBAAkB,GAAG;IACxB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,qDAAqD;AACrD,eAAO,MAAM,oBAAoB,wBAAwB,kBAAkB;;;sBAu7B5D,EAAG,KAAK;;;+CAGZ,EAAG,KAAK,gCAA+B,EAAG,KAAK;qCAEtD,EAAA,KACJ;2BACyC,EAAG,KAC5C;4BAAsC,EAAG,KAAK;;;;;;uBAQlC,CAAZ;;;;;;;;;;;;;uBAUqD,CAAC;mBAE1C,CAAV;kBACU,CAAC;mBAEC,CAAC;iBAAwB,CAAC;oBAMlB,CAAC;qBAAgD,CAAC;uBAE7C,CAAC;;;;;;;iBAKhB,CAAC;gBACP,CAAH;;;;iBAIsC,CAAC;gBAC/B,CAAC;;;;iBAIF,CAAN;gBAAkC,CAAC;;;;;;;sBAkF2rT,EAAG,KAAK;;;;;oBAA0I,CAAC;;;;;2BAA8I,CAAC;wBAA0C,CAAC;2BAAwD,CAAC;+BAAiD,CAAC;2BAA6C,CAAC;4BAA+B,CAAC;4BAA+C,CAAC;0BAA8C,CAAC;wBAA0C,CAAC;wBAA4C,CAAC;4BAA+B,CAAC;;;;kBAA+H,CAAC;eAA+B,CAAC;;;wBAA2I,CAAC;;;;;;;;uBAA2L,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;;;;uBAA0J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;;;;uBAA4J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;;;;uBAA4J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;wBAA2C,CAAC;sBAA0C,CAAC;oBAAsC,CAAC;oBAAwC,CAAC;wBAA2B,CAAC;;;+BAAqE,EAAG,KAAK;;;;sBAj1Bl/Z,EAAG,KAAK;;;;iBAGI,CAAC;uBAG5C,CAAJ;mBAAqC,CAAC;gBAChC,CAAL;;;;;CA9NA,CAAA"}