@scalar/api-client 2.0.63 → 2.1.0

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 (329) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  4. package/dist/components/AddressBar/AddressBar.vue2.js +64 -62
  5. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  6. package/dist/components/AddressBar/AddressBarHistory.vue.js +77 -69
  7. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  8. package/dist/components/AddressBar/AddressBarServer.vue.js +121 -0
  9. package/dist/components/AddressBar/AddressBarServer.vue2.js +4 -0
  10. package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts +22 -0
  11. package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -0
  12. package/dist/components/AddressBar/AddressBarServerItem.vue.js +57 -0
  13. package/dist/components/AddressBar/AddressBarServerItem.vue2.js +4 -0
  14. package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -6
  15. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  16. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  17. package/dist/components/CodeInput/CodeInput.vue2.js +87 -82
  18. package/dist/components/CodeInput/codeVariableWidget.d.ts +4 -4
  19. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  20. package/dist/components/CodeInput/codeVariableWidget.js +70 -63
  21. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +33 -0
  22. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -0
  23. package/dist/components/CommandPalette/CommandActionForm.vue.js +41 -0
  24. package/dist/components/CommandPalette/CommandActionForm.vue2.js +4 -0
  25. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +20 -0
  26. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -0
  27. package/dist/components/CommandPalette/CommandActionInput.vue.js +42 -0
  28. package/dist/components/CommandPalette/CommandActionInput.vue2.js +4 -0
  29. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  30. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +33 -56
  31. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  32. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +88 -109
  33. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  34. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +56 -73
  35. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +21 -2
  36. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  37. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +122 -133
  38. package/dist/components/CommandPalette/{CommandPaletteFolder.vue.d.ts → CommandPaletteServer.vue.d.ts} +1 -1
  39. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -0
  40. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +92 -0
  41. package/dist/components/CommandPalette/CommandPaletteServer.vue2.js +4 -0
  42. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +7 -0
  43. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -0
  44. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +87 -0
  45. package/dist/components/CommandPalette/CommandPaletteTag.vue2.js +4 -0
  46. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
  47. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +33 -49
  48. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +22 -3
  49. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  50. package/dist/components/CommandPalette/TheCommandPalette.vue.js +3 -3
  51. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +107 -101
  52. package/dist/components/ContextBar.vue.d.ts.map +1 -1
  53. package/dist/components/ContextBar.vue.js +2 -2
  54. package/dist/components/ContextBar.vue2.js +2 -2
  55. package/dist/components/DataTable/DataTable.vue.js +1 -1
  56. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
  57. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  58. package/dist/components/DataTable/DataTableInput.vue.js +2 -2
  59. package/dist/components/DataTable/DataTableInput.vue2.js +13 -13
  60. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  61. package/dist/components/DataTable/DataTableInputSelect.vue.js +39 -40
  62. package/dist/components/DataTable/index.js +12 -12
  63. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +7 -7
  64. package/dist/components/Form/Form.vue.js +1 -1
  65. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  66. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  67. package/dist/components/HttpMethod/HttpMethod.vue.js +2 -2
  68. package/dist/components/HttpMethod/HttpMethod.vue2.js +30 -30
  69. package/dist/components/HttpMethod/helpers.d.ts +4 -0
  70. package/dist/components/HttpMethod/helpers.d.ts.map +1 -0
  71. package/dist/components/HttpMethod/helpers.js +5 -0
  72. package/dist/components/HttpMethod/index.d.ts +1 -0
  73. package/dist/components/HttpMethod/index.d.ts.map +1 -1
  74. package/dist/components/HttpMethod/index.js +4 -2
  75. package/dist/components/Search/SearchModal.vue.d.ts.map +1 -1
  76. package/dist/components/Search/SearchModal.vue.js +2 -2
  77. package/dist/components/Search/SearchModal.vue2.js +29 -27
  78. package/dist/components/Search/useSearch.js +35 -35
  79. package/dist/components/SideNav/SideNavLink.vue.js +6 -6
  80. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
  81. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +14 -17
  82. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts +22 -0
  83. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts.map +1 -0
  84. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.js +29 -0
  85. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue2.js +4 -0
  86. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
  87. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
  88. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +38 -35
  89. package/dist/components/Sidebar/Sidebar.vue.d.ts +2 -1
  90. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  91. package/dist/components/Sidebar/Sidebar.vue.js +5 -54
  92. package/dist/components/Sidebar/Sidebar.vue2.js +59 -0
  93. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  94. package/dist/components/Sidebar/SidebarButton.vue.js +11 -11
  95. package/dist/components/Sidebar/index.js +2 -3
  96. package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
  97. package/dist/components/SubpageHeader.vue.js +3 -3
  98. package/dist/components/SubpageHeader.vue2.js +3 -3
  99. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  100. package/dist/components/TopNav/TopNav.vue.js +2 -2
  101. package/dist/components/TopNav/TopNav.vue2.js +23 -23
  102. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  103. package/dist/components/TopNav/TopNavItem.vue.js +2 -2
  104. package/dist/components/TopNav/TopNavItem.vue2.js +21 -21
  105. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  106. package/dist/components/ViewLayout/ViewLayout.vue.js +7 -7
  107. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  108. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +5 -5
  109. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
  110. package/dist/components/ViewLayout/ViewLayoutContent.vue.js +4 -4
  111. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  112. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +6 -6
  113. package/dist/components/index.js +4 -5
  114. package/dist/index.d.ts +1 -1
  115. package/dist/index.d.ts.map +1 -1
  116. package/dist/index.js +1 -1
  117. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  118. package/dist/layouts/App/ApiClientApp.vue.js +39 -53
  119. package/dist/layouts/App/create-api-client-app.d.ts +2058 -1941
  120. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  121. package/dist/layouts/App/create-api-client-app.js +12 -12
  122. package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
  123. package/dist/layouts/Modal/ApiClientModal.vue2.js +6 -6
  124. package/dist/layouts/Modal/create-api-client-modal.d.ts +4590 -4356
  125. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  126. package/dist/layouts/Modal/create-api-client-modal.js +18 -23
  127. package/dist/libs/create-client.d.ts +2086 -1972
  128. package/dist/libs/create-client.d.ts.map +1 -1
  129. package/dist/libs/create-client.js +85 -76
  130. package/dist/libs/environment-parser.d.ts +9 -0
  131. package/dist/libs/environment-parser.d.ts.map +1 -0
  132. package/dist/libs/environment-parser.js +17 -0
  133. package/dist/libs/errors.d.ts +21 -0
  134. package/dist/libs/errors.d.ts.map +1 -0
  135. package/dist/libs/errors.js +14 -0
  136. package/dist/libs/event-busses/command-palette-bus.d.ts +1 -1
  137. package/dist/libs/event-busses/command-palette-bus.d.ts.map +1 -1
  138. package/dist/libs/event-busses/hot-keys-bus.d.ts +4 -4
  139. package/dist/libs/event-busses/hot-keys-bus.d.ts.map +1 -1
  140. package/dist/libs/event-busses/hot-keys-bus.js +17 -19
  141. package/dist/libs/index.d.ts +5 -2
  142. package/dist/libs/index.d.ts.map +1 -1
  143. package/dist/libs/index.js +31 -24
  144. package/dist/libs/local-storage.d.ts +3 -3
  145. package/dist/libs/local-storage.d.ts.map +1 -1
  146. package/dist/libs/local-storage.js +24 -12
  147. package/dist/libs/normalize-headers.d.ts +14 -0
  148. package/dist/libs/normalize-headers.d.ts.map +1 -0
  149. package/dist/libs/normalize-headers.js +32 -0
  150. package/dist/libs/send-request.d.ts +28 -0
  151. package/dist/libs/send-request.d.ts.map +1 -0
  152. package/dist/libs/send-request.js +186 -0
  153. package/dist/libs/string-template.d.ts +19 -0
  154. package/dist/libs/string-template.d.ts.map +1 -0
  155. package/dist/libs/string-template.js +30 -0
  156. package/dist/router.d.ts +5 -0
  157. package/dist/router.d.ts.map +1 -1
  158. package/dist/router.js +36 -27
  159. package/dist/store/collections.d.ts +705 -0
  160. package/dist/store/collections.d.ts.map +1 -0
  161. package/dist/store/collections.js +63 -0
  162. package/dist/store/cookies.d.ts +135 -0
  163. package/dist/store/cookies.d.ts.map +1 -0
  164. package/dist/store/cookies.js +29 -0
  165. package/dist/store/environment.d.ts +80 -0
  166. package/dist/store/environment.d.ts.map +1 -0
  167. package/dist/store/environment.js +39 -0
  168. package/dist/store/import-spec.d.ts +8 -0
  169. package/dist/store/import-spec.d.ts.map +1 -0
  170. package/dist/store/import-spec.js +45 -0
  171. package/dist/store/index.d.ts +1 -1
  172. package/dist/store/index.d.ts.map +1 -1
  173. package/dist/store/index.js +1 -1
  174. package/dist/store/request-example.d.ts +1111 -0
  175. package/dist/store/request-example.d.ts.map +1 -0
  176. package/dist/store/request-example.js +47 -0
  177. package/dist/store/requests.d.ts +371 -0
  178. package/dist/store/requests.d.ts.map +1 -0
  179. package/dist/store/requests.js +107 -0
  180. package/dist/store/router-params.d.ts +15 -0
  181. package/dist/store/router-params.d.ts.map +1 -0
  182. package/dist/store/router-params.js +21 -0
  183. package/dist/store/security-schemes.d.ts +616 -0
  184. package/dist/store/security-schemes.d.ts.map +1 -0
  185. package/dist/store/security-schemes.js +68 -0
  186. package/dist/store/servers.d.ts +99 -0
  187. package/dist/store/servers.d.ts.map +1 -0
  188. package/dist/store/servers.js +46 -0
  189. package/dist/store/store-context.d.ts +29 -0
  190. package/dist/store/store-context.d.ts.map +1 -0
  191. package/dist/store/store.d.ts +7504 -0
  192. package/dist/store/store.d.ts.map +1 -0
  193. package/dist/store/store.js +200 -0
  194. package/dist/store/tags.d.ts +169 -0
  195. package/dist/store/tags.d.ts.map +1 -0
  196. package/dist/store/tags.js +57 -0
  197. package/dist/store/workspace.d.ts +93 -7150
  198. package/dist/store/workspace.d.ts.map +1 -1
  199. package/dist/store/workspace.js +49 -543
  200. package/dist/style.css +1 -1
  201. package/dist/views/Cookies/CookieForm.vue.js +2 -2
  202. package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
  203. package/dist/views/Cookies/CookieRaw.vue.js +10 -10
  204. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  205. package/dist/views/Cookies/Cookies.vue2.js +29 -32
  206. package/dist/views/Environment/Environment.vue2.js +31 -33
  207. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +11 -5
  208. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  209. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +79 -59
  210. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  211. package/dist/views/Request/Request.vue.js +2 -2
  212. package/dist/views/Request/Request.vue2.js +87 -319
  213. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +36 -0
  214. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -0
  215. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +59 -0
  216. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue2.js +4 -0
  217. package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuth2.vue.d.ts +3 -1
  218. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -0
  219. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +216 -0
  220. package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue.d.ts +2 -2
  221. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -0
  222. package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue.js +3 -3
  223. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -0
  224. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +7 -0
  225. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +183 -0
  226. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts +30 -0
  227. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts.map +1 -0
  228. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts +3 -0
  229. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -0
  230. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +140 -0
  231. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue2.js +4 -0
  232. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
  233. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  234. package/dist/views/Request/RequestSection/RequestBody.vue.js +167 -186
  235. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +1 -1
  236. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  237. package/dist/views/Request/RequestSection/RequestParams.vue.js +49 -49
  238. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
  239. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  240. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +26 -22
  241. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  242. package/dist/views/Request/RequestSection/RequestSection.vue.js +103 -102
  243. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +5 -5
  244. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  245. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  246. package/dist/views/Request/RequestSection/RequestTable.vue2.js +1 -1
  247. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +1 -1
  248. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  249. package/dist/views/Request/RequestSidebar.vue.d.ts +30 -0
  250. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -0
  251. package/dist/views/Request/RequestSidebar.vue.js +7 -0
  252. package/dist/views/Request/RequestSidebar.vue2.js +179 -0
  253. package/dist/views/Request/RequestSidebarItem.vue.d.ts +6 -7
  254. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  255. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  256. package/dist/views/Request/RequestSidebarItem.vue2.js +283 -254
  257. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +3 -5
  258. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  259. package/dist/views/Request/RequestSidebarItemMenu.vue.js +2 -2
  260. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +9 -7
  261. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +24 -0
  262. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -0
  263. package/dist/views/Request/RequestSubpageHeader.vue.js +7 -0
  264. package/dist/views/Request/RequestSubpageHeader.vue2.js +48 -0
  265. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  266. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +21 -21
  267. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  268. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +3 -3
  269. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +17 -16
  270. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  271. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  272. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +37 -30
  273. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +1 -1
  274. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  275. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -1
  276. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  277. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
  278. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  279. package/dist/views/Request/components/WorkspaceDropdown.vue.js +69 -90
  280. package/dist/views/Request/components/index.d.ts +0 -1
  281. package/dist/views/Request/components/index.d.ts.map +1 -1
  282. package/dist/views/Request/components/index.js +2 -4
  283. package/dist/views/Request/consts/new-auth-options.d.ts +11 -1
  284. package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
  285. package/dist/views/Request/consts/new-auth-options.js +17 -7
  286. package/dist/views/Request/handle-drag.d.ts +8 -0
  287. package/dist/views/Request/handle-drag.d.ts.map +1 -0
  288. package/dist/views/Request/handle-drag.js +56 -0
  289. package/dist/views/Request/libs/auth.d.ts +35 -0
  290. package/dist/views/Request/libs/auth.d.ts.map +1 -0
  291. package/dist/views/Request/libs/auth.js +14 -0
  292. package/dist/views/Request/libs/index.d.ts +1 -0
  293. package/dist/views/Request/libs/index.d.ts.map +1 -1
  294. package/dist/views/Request/libs/index.js +7 -3
  295. package/dist/views/Request/libs/oauth2.d.ts +12 -3
  296. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  297. package/dist/views/Request/libs/oauth2.js +42 -27
  298. package/dist/views/Servers/ServerForm.vue.js +22 -22
  299. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  300. package/dist/views/Servers/Servers.vue2.js +18 -16
  301. package/package.json +11 -11
  302. package/dist/components/CodeInput/codeDropdownWidget.d.ts +0 -32
  303. package/dist/components/CodeInput/codeDropdownWidget.d.ts.map +0 -1
  304. package/dist/components/CodeInput/codeDropdownWidget.js +0 -121
  305. package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +0 -1
  306. package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +0 -106
  307. package/dist/components/CommandPalette/CommandPaletteFolder.vue2.js +0 -4
  308. package/dist/components/Sidebar/Sidebar.vue3.js +0 -5
  309. package/dist/errors.d.ts +0 -5
  310. package/dist/errors.d.ts.map +0 -1
  311. package/dist/errors.js +0 -7
  312. package/dist/libs/normalizeHeaders.d.ts +0 -11
  313. package/dist/libs/normalizeHeaders.d.ts.map +0 -1
  314. package/dist/libs/normalizeHeaders.js +0 -25
  315. package/dist/libs/pathParams.d.ts +0 -10
  316. package/dist/libs/pathParams.d.ts.map +0 -1
  317. package/dist/libs/pathParams.js +0 -36
  318. package/dist/libs/sendRequest.d.ts +0 -14
  319. package/dist/libs/sendRequest.d.ts.map +0 -1
  320. package/dist/libs/sendRequest.js +0 -163
  321. package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +0 -1
  322. package/dist/views/Request/RequestSection/RequestAuth.vue.js +0 -7
  323. package/dist/views/Request/RequestSection/RequestAuth.vue2.js +0 -351
  324. package/dist/views/Request/components/OAuth2.vue.d.ts.map +0 -1
  325. package/dist/views/Request/components/OAuth2.vue.js +0 -208
  326. package/dist/views/Request/components/OAuthScopesInput.vue.d.ts.map +0 -1
  327. /package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuth2.vue2.js +0 -0
  328. /package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue2.js +0 -0
  329. /package/dist/views/Request/RequestSection/{RequestAuth.vue.d.ts → RequestAuth/RequestAuth.vue.d.ts} +0 -0
@@ -0,0 +1,705 @@
1
+ import type { StoreContext } from '../store/store-context';
2
+ import { type Collection, type CollectionPayload } from '@scalar/oas-utils/entities/spec';
3
+ import type { Workspace } from '@scalar/oas-utils/entities/workspace';
4
+ /** Initiate the workspace collections */
5
+ export declare function createStoreCollections(useLocalStorage: boolean): {
6
+ collections: Record<string, {
7
+ type: "collection";
8
+ uid: string;
9
+ children: string[];
10
+ openapi: string;
11
+ security: Record<string, string[]>[];
12
+ securitySchemes: string[];
13
+ selectedServerUid: string;
14
+ servers: string[];
15
+ requests: string[];
16
+ tags: string[];
17
+ auth: Record<string, {
18
+ type: "apiKey";
19
+ value: string;
20
+ name: string;
21
+ } | {
22
+ type: "http";
23
+ username: string;
24
+ password: string;
25
+ token: string;
26
+ } | {
27
+ type: "oauth-implicit";
28
+ token: string;
29
+ } | {
30
+ type: "oauth-password";
31
+ username: string;
32
+ password: string;
33
+ token: string;
34
+ clientSecret: string;
35
+ } | {
36
+ type: "oauth-clientCredentials";
37
+ token: string;
38
+ clientSecret: string;
39
+ } | {
40
+ type: "oauth-authorizationCode";
41
+ token: string;
42
+ clientSecret: string;
43
+ }>;
44
+ externalDocs?: {
45
+ url: string;
46
+ description?: string | undefined;
47
+ } | undefined;
48
+ jsonSchemaDialect?: string | undefined;
49
+ info?: {
50
+ title: string;
51
+ version: string;
52
+ description?: string | undefined;
53
+ summary?: string | undefined;
54
+ termsOfService?: string | undefined;
55
+ contact?: {
56
+ name?: string | undefined;
57
+ url?: string | undefined;
58
+ email?: string | undefined;
59
+ } | undefined;
60
+ license?: {
61
+ name: string;
62
+ identifier?: string | undefined;
63
+ url?: string | undefined;
64
+ } | undefined;
65
+ } | undefined;
66
+ components?: Record<string, unknown> | undefined;
67
+ webhooks?: Record<string, unknown> | undefined;
68
+ }>;
69
+ collectionMutators: {
70
+ add: (item: {
71
+ type: "collection";
72
+ uid: string;
73
+ children: string[];
74
+ openapi: string;
75
+ security: Record<string, string[]>[];
76
+ securitySchemes: string[];
77
+ selectedServerUid: string;
78
+ servers: string[];
79
+ requests: string[];
80
+ tags: string[];
81
+ auth: Record<string, {
82
+ type: "apiKey";
83
+ value: string;
84
+ name: string;
85
+ } | {
86
+ type: "http";
87
+ username: string;
88
+ password: string;
89
+ token: string;
90
+ } | {
91
+ type: "oauth-implicit";
92
+ token: string;
93
+ } | {
94
+ type: "oauth-password";
95
+ username: string;
96
+ password: string;
97
+ token: string;
98
+ clientSecret: string;
99
+ } | {
100
+ type: "oauth-clientCredentials";
101
+ token: string;
102
+ clientSecret: string;
103
+ } | {
104
+ type: "oauth-authorizationCode";
105
+ token: string;
106
+ clientSecret: string;
107
+ }>;
108
+ externalDocs?: {
109
+ url: string;
110
+ description?: string | undefined;
111
+ } | undefined;
112
+ jsonSchemaDialect?: string | undefined;
113
+ info?: {
114
+ title: string;
115
+ version: string;
116
+ description?: string | undefined;
117
+ summary?: string | undefined;
118
+ termsOfService?: string | undefined;
119
+ contact?: {
120
+ name?: string | undefined;
121
+ url?: string | undefined;
122
+ email?: string | undefined;
123
+ } | undefined;
124
+ license?: {
125
+ name: string;
126
+ identifier?: string | undefined;
127
+ url?: string | undefined;
128
+ } | undefined;
129
+ } | undefined;
130
+ components?: Record<string, unknown> | undefined;
131
+ webhooks?: Record<string, unknown> | undefined;
132
+ }) => void;
133
+ delete: (uid: string) => void;
134
+ set: (item: {
135
+ type: "collection";
136
+ uid: string;
137
+ children: string[];
138
+ openapi: string;
139
+ security: Record<string, string[]>[];
140
+ securitySchemes: string[];
141
+ selectedServerUid: string;
142
+ servers: string[];
143
+ requests: string[];
144
+ tags: string[];
145
+ auth: Record<string, {
146
+ type: "apiKey";
147
+ value: string;
148
+ name: string;
149
+ } | {
150
+ type: "http";
151
+ username: string;
152
+ password: string;
153
+ token: string;
154
+ } | {
155
+ type: "oauth-implicit";
156
+ token: string;
157
+ } | {
158
+ type: "oauth-password";
159
+ username: string;
160
+ password: string;
161
+ token: string;
162
+ clientSecret: string;
163
+ } | {
164
+ type: "oauth-clientCredentials";
165
+ token: string;
166
+ clientSecret: string;
167
+ } | {
168
+ type: "oauth-authorizationCode";
169
+ token: string;
170
+ clientSecret: string;
171
+ }>;
172
+ externalDocs?: {
173
+ url: string;
174
+ description?: string | undefined;
175
+ } | undefined;
176
+ jsonSchemaDialect?: string | undefined;
177
+ info?: {
178
+ title: string;
179
+ version: string;
180
+ description?: string | undefined;
181
+ summary?: string | undefined;
182
+ termsOfService?: string | undefined;
183
+ contact?: {
184
+ name?: string | undefined;
185
+ url?: string | undefined;
186
+ email?: string | undefined;
187
+ } | undefined;
188
+ license?: {
189
+ name: string;
190
+ identifier?: string | undefined;
191
+ url?: string | undefined;
192
+ } | undefined;
193
+ } | undefined;
194
+ components?: Record<string, unknown> | undefined;
195
+ webhooks?: Record<string, unknown> | undefined;
196
+ }) => void;
197
+ edit: <P extends "type" | "children" | "tags" | "requests" | "servers" | "securitySchemes" | "components" | "openapi" | "info" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "uid" | "selectedServerUid" | "auth" | `children.${number}` | `tags.${number}` | `requests.${number}` | `servers.${number}` | `securitySchemes.${number}` | `components.${string}` | "info.summary" | "info.title" | "info.description" | "info.termsOfService" | "info.contact" | "info.license" | "info.version" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `webhooks.${string}` | `auth.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "tags" | "requests" | "servers" | "securitySchemes" | "components" | "openapi" | "info" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "uid" | "selectedServerUid" | "auth" ? {
198
+ type: "collection";
199
+ uid: string;
200
+ children: string[];
201
+ openapi: string;
202
+ security: Record<string, string[]>[];
203
+ securitySchemes: string[];
204
+ selectedServerUid: string;
205
+ servers: string[];
206
+ requests: string[];
207
+ tags: string[];
208
+ auth: Record<string, {
209
+ type: "apiKey";
210
+ value: string;
211
+ name: string;
212
+ } | {
213
+ type: "http";
214
+ username: string;
215
+ password: string;
216
+ token: string;
217
+ } | {
218
+ type: "oauth-implicit";
219
+ token: string;
220
+ } | {
221
+ type: "oauth-password";
222
+ username: string;
223
+ password: string;
224
+ token: string;
225
+ clientSecret: string;
226
+ } | {
227
+ type: "oauth-clientCredentials";
228
+ token: string;
229
+ clientSecret: string;
230
+ } | {
231
+ type: "oauth-authorizationCode";
232
+ token: string;
233
+ clientSecret: string;
234
+ }>;
235
+ externalDocs?: {
236
+ url: string;
237
+ description?: string | undefined;
238
+ } | undefined;
239
+ jsonSchemaDialect?: string | undefined;
240
+ info?: {
241
+ title: string;
242
+ version: string;
243
+ description?: string | undefined;
244
+ summary?: string | undefined;
245
+ termsOfService?: string | undefined;
246
+ contact?: {
247
+ name?: string | undefined;
248
+ url?: string | undefined;
249
+ email?: string | undefined;
250
+ } | undefined;
251
+ license?: {
252
+ name: string;
253
+ identifier?: string | undefined;
254
+ url?: string | undefined;
255
+ } | undefined;
256
+ } | undefined;
257
+ components?: Record<string, unknown> | undefined;
258
+ webhooks?: Record<string, unknown> | undefined;
259
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "tags" | "requests" | "servers" | "securitySchemes" | "components" | "openapi" | "info" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "uid" | "selectedServerUid" | "auth" ? R extends import("@scalar/object-utils/nested").Path<{
260
+ type: "collection";
261
+ uid: string;
262
+ children: string[];
263
+ openapi: string;
264
+ security: Record<string, string[]>[];
265
+ securitySchemes: string[];
266
+ selectedServerUid: string;
267
+ servers: string[];
268
+ requests: string[];
269
+ tags: string[];
270
+ auth: Record<string, {
271
+ type: "apiKey";
272
+ value: string;
273
+ name: string;
274
+ } | {
275
+ type: "http";
276
+ username: string;
277
+ password: string;
278
+ token: string;
279
+ } | {
280
+ type: "oauth-implicit";
281
+ token: string;
282
+ } | {
283
+ type: "oauth-password";
284
+ username: string;
285
+ password: string;
286
+ token: string;
287
+ clientSecret: string;
288
+ } | {
289
+ type: "oauth-clientCredentials";
290
+ token: string;
291
+ clientSecret: string;
292
+ } | {
293
+ type: "oauth-authorizationCode";
294
+ token: string;
295
+ clientSecret: string;
296
+ }>;
297
+ externalDocs?: {
298
+ url: string;
299
+ description?: string | undefined;
300
+ } | undefined;
301
+ jsonSchemaDialect?: string | undefined;
302
+ info?: {
303
+ title: string;
304
+ version: string;
305
+ description?: string | undefined;
306
+ summary?: string | undefined;
307
+ termsOfService?: string | undefined;
308
+ contact?: {
309
+ name?: string | undefined;
310
+ url?: string | undefined;
311
+ email?: string | undefined;
312
+ } | undefined;
313
+ license?: {
314
+ name: string;
315
+ identifier?: string | undefined;
316
+ url?: string | undefined;
317
+ } | undefined;
318
+ } | undefined;
319
+ components?: Record<string, unknown> | undefined;
320
+ webhooks?: Record<string, unknown> | undefined;
321
+ }[K]> ? import("@scalar/object-utils/nested").PathValue<{
322
+ type: "collection";
323
+ uid: string;
324
+ children: string[];
325
+ openapi: string;
326
+ security: Record<string, string[]>[];
327
+ securitySchemes: string[];
328
+ selectedServerUid: string;
329
+ servers: string[];
330
+ requests: string[];
331
+ tags: string[];
332
+ auth: Record<string, {
333
+ type: "apiKey";
334
+ value: string;
335
+ name: string;
336
+ } | {
337
+ type: "http";
338
+ username: string;
339
+ password: string;
340
+ token: string;
341
+ } | {
342
+ type: "oauth-implicit";
343
+ token: string;
344
+ } | {
345
+ type: "oauth-password";
346
+ username: string;
347
+ password: string;
348
+ token: string;
349
+ clientSecret: string;
350
+ } | {
351
+ type: "oauth-clientCredentials";
352
+ token: string;
353
+ clientSecret: string;
354
+ } | {
355
+ type: "oauth-authorizationCode";
356
+ token: string;
357
+ clientSecret: string;
358
+ }>;
359
+ externalDocs?: {
360
+ url: string;
361
+ description?: string | undefined;
362
+ } | undefined;
363
+ jsonSchemaDialect?: string | undefined;
364
+ info?: {
365
+ title: string;
366
+ version: string;
367
+ description?: string | undefined;
368
+ summary?: string | undefined;
369
+ termsOfService?: string | undefined;
370
+ contact?: {
371
+ name?: string | undefined;
372
+ url?: string | undefined;
373
+ email?: string | undefined;
374
+ } | undefined;
375
+ license?: {
376
+ name: string;
377
+ identifier?: string | undefined;
378
+ url?: string | undefined;
379
+ } | undefined;
380
+ } | undefined;
381
+ components?: Record<string, unknown> | undefined;
382
+ webhooks?: Record<string, unknown> | undefined;
383
+ }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
384
+ untrackedEdit: <P extends "type" | "children" | "tags" | "requests" | "servers" | "securitySchemes" | "components" | "openapi" | "info" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "uid" | "selectedServerUid" | "auth" | `children.${number}` | `tags.${number}` | `requests.${number}` | `servers.${number}` | `securitySchemes.${number}` | `components.${string}` | "info.summary" | "info.title" | "info.description" | "info.termsOfService" | "info.contact" | "info.license" | "info.version" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `webhooks.${string}` | `auth.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "tags" | "requests" | "servers" | "securitySchemes" | "components" | "openapi" | "info" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "uid" | "selectedServerUid" | "auth" ? {
385
+ type: "collection";
386
+ uid: string;
387
+ children: string[];
388
+ openapi: string;
389
+ security: Record<string, string[]>[];
390
+ securitySchemes: string[];
391
+ selectedServerUid: string;
392
+ servers: string[];
393
+ requests: string[];
394
+ tags: string[];
395
+ auth: Record<string, {
396
+ type: "apiKey";
397
+ value: string;
398
+ name: string;
399
+ } | {
400
+ type: "http";
401
+ username: string;
402
+ password: string;
403
+ token: string;
404
+ } | {
405
+ type: "oauth-implicit";
406
+ token: string;
407
+ } | {
408
+ type: "oauth-password";
409
+ username: string;
410
+ password: string;
411
+ token: string;
412
+ clientSecret: string;
413
+ } | {
414
+ type: "oauth-clientCredentials";
415
+ token: string;
416
+ clientSecret: string;
417
+ } | {
418
+ type: "oauth-authorizationCode";
419
+ token: string;
420
+ clientSecret: string;
421
+ }>;
422
+ externalDocs?: {
423
+ url: string;
424
+ description?: string | undefined;
425
+ } | undefined;
426
+ jsonSchemaDialect?: string | undefined;
427
+ info?: {
428
+ title: string;
429
+ version: string;
430
+ description?: string | undefined;
431
+ summary?: string | undefined;
432
+ termsOfService?: string | undefined;
433
+ contact?: {
434
+ name?: string | undefined;
435
+ url?: string | undefined;
436
+ email?: string | undefined;
437
+ } | undefined;
438
+ license?: {
439
+ name: string;
440
+ identifier?: string | undefined;
441
+ url?: string | undefined;
442
+ } | undefined;
443
+ } | undefined;
444
+ components?: Record<string, unknown> | undefined;
445
+ webhooks?: Record<string, unknown> | undefined;
446
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "tags" | "requests" | "servers" | "securitySchemes" | "components" | "openapi" | "info" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "uid" | "selectedServerUid" | "auth" ? R extends import("@scalar/object-utils/nested").Path<{
447
+ type: "collection";
448
+ uid: string;
449
+ children: string[];
450
+ openapi: string;
451
+ security: Record<string, string[]>[];
452
+ securitySchemes: string[];
453
+ selectedServerUid: string;
454
+ servers: string[];
455
+ requests: string[];
456
+ tags: string[];
457
+ auth: Record<string, {
458
+ type: "apiKey";
459
+ value: string;
460
+ name: string;
461
+ } | {
462
+ type: "http";
463
+ username: string;
464
+ password: string;
465
+ token: string;
466
+ } | {
467
+ type: "oauth-implicit";
468
+ token: string;
469
+ } | {
470
+ type: "oauth-password";
471
+ username: string;
472
+ password: string;
473
+ token: string;
474
+ clientSecret: string;
475
+ } | {
476
+ type: "oauth-clientCredentials";
477
+ token: string;
478
+ clientSecret: string;
479
+ } | {
480
+ type: "oauth-authorizationCode";
481
+ token: string;
482
+ clientSecret: string;
483
+ }>;
484
+ externalDocs?: {
485
+ url: string;
486
+ description?: string | undefined;
487
+ } | undefined;
488
+ jsonSchemaDialect?: string | undefined;
489
+ info?: {
490
+ title: string;
491
+ version: string;
492
+ description?: string | undefined;
493
+ summary?: string | undefined;
494
+ termsOfService?: string | undefined;
495
+ contact?: {
496
+ name?: string | undefined;
497
+ url?: string | undefined;
498
+ email?: string | undefined;
499
+ } | undefined;
500
+ license?: {
501
+ name: string;
502
+ identifier?: string | undefined;
503
+ url?: string | undefined;
504
+ } | undefined;
505
+ } | undefined;
506
+ components?: Record<string, unknown> | undefined;
507
+ webhooks?: Record<string, unknown> | undefined;
508
+ }[K]> ? import("@scalar/object-utils/nested").PathValue<{
509
+ type: "collection";
510
+ uid: string;
511
+ children: string[];
512
+ openapi: string;
513
+ security: Record<string, string[]>[];
514
+ securitySchemes: string[];
515
+ selectedServerUid: string;
516
+ servers: string[];
517
+ requests: string[];
518
+ tags: string[];
519
+ auth: Record<string, {
520
+ type: "apiKey";
521
+ value: string;
522
+ name: string;
523
+ } | {
524
+ type: "http";
525
+ username: string;
526
+ password: string;
527
+ token: string;
528
+ } | {
529
+ type: "oauth-implicit";
530
+ token: string;
531
+ } | {
532
+ type: "oauth-password";
533
+ username: string;
534
+ password: string;
535
+ token: string;
536
+ clientSecret: string;
537
+ } | {
538
+ type: "oauth-clientCredentials";
539
+ token: string;
540
+ clientSecret: string;
541
+ } | {
542
+ type: "oauth-authorizationCode";
543
+ token: string;
544
+ clientSecret: string;
545
+ }>;
546
+ externalDocs?: {
547
+ url: string;
548
+ description?: string | undefined;
549
+ } | undefined;
550
+ jsonSchemaDialect?: string | undefined;
551
+ info?: {
552
+ title: string;
553
+ version: string;
554
+ description?: string | undefined;
555
+ summary?: string | undefined;
556
+ termsOfService?: string | undefined;
557
+ contact?: {
558
+ name?: string | undefined;
559
+ url?: string | undefined;
560
+ email?: string | undefined;
561
+ } | undefined;
562
+ license?: {
563
+ name: string;
564
+ identifier?: string | undefined;
565
+ url?: string | undefined;
566
+ } | undefined;
567
+ } | undefined;
568
+ components?: Record<string, unknown> | undefined;
569
+ webhooks?: Record<string, unknown> | undefined;
570
+ }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
571
+ undo: (uid: string) => void;
572
+ redo: (uid: string) => void;
573
+ loadLocalStorage: (instances: {
574
+ type: "collection";
575
+ uid: string;
576
+ children: string[];
577
+ openapi: string;
578
+ security: Record<string, string[]>[];
579
+ securitySchemes: string[];
580
+ selectedServerUid: string;
581
+ servers: string[];
582
+ requests: string[];
583
+ tags: string[];
584
+ auth: Record<string, {
585
+ type: "apiKey";
586
+ value: string;
587
+ name: string;
588
+ } | {
589
+ type: "http";
590
+ username: string;
591
+ password: string;
592
+ token: string;
593
+ } | {
594
+ type: "oauth-implicit";
595
+ token: string;
596
+ } | {
597
+ type: "oauth-password";
598
+ username: string;
599
+ password: string;
600
+ token: string;
601
+ clientSecret: string;
602
+ } | {
603
+ type: "oauth-clientCredentials";
604
+ token: string;
605
+ clientSecret: string;
606
+ } | {
607
+ type: "oauth-authorizationCode";
608
+ token: string;
609
+ clientSecret: string;
610
+ }>;
611
+ externalDocs?: {
612
+ url: string;
613
+ description?: string | undefined;
614
+ } | undefined;
615
+ jsonSchemaDialect?: string | undefined;
616
+ info?: {
617
+ title: string;
618
+ version: string;
619
+ description?: string | undefined;
620
+ summary?: string | undefined;
621
+ termsOfService?: string | undefined;
622
+ contact?: {
623
+ name?: string | undefined;
624
+ url?: string | undefined;
625
+ email?: string | undefined;
626
+ } | undefined;
627
+ license?: {
628
+ name: string;
629
+ identifier?: string | undefined;
630
+ url?: string | undefined;
631
+ } | undefined;
632
+ } | undefined;
633
+ components?: Record<string, unknown> | undefined;
634
+ webhooks?: Record<string, unknown> | undefined;
635
+ }[]) => void;
636
+ };
637
+ };
638
+ /** Extended mutators and data for collections that required workspace access */
639
+ export declare function extendedCollectionDataFactory({ requests, requestMutators, requestExamples, requestExampleMutators, workspaces, workspaceMutators, collections, collectionMutators, tagMutators, }: StoreContext): {
640
+ addCollection: (payload: CollectionPayload, workspaceUid: string) => {
641
+ type: "collection";
642
+ uid: string;
643
+ children: string[];
644
+ openapi: string;
645
+ security: Record<string, string[]>[];
646
+ securitySchemes: string[];
647
+ selectedServerUid: string;
648
+ servers: string[];
649
+ requests: string[];
650
+ tags: string[];
651
+ auth: Record<string, {
652
+ type: "apiKey";
653
+ value: string;
654
+ name: string;
655
+ } | {
656
+ type: "http";
657
+ username: string;
658
+ password: string;
659
+ token: string;
660
+ } | {
661
+ type: "oauth-implicit";
662
+ token: string;
663
+ } | {
664
+ type: "oauth-password";
665
+ username: string;
666
+ password: string;
667
+ token: string;
668
+ clientSecret: string;
669
+ } | {
670
+ type: "oauth-clientCredentials";
671
+ token: string;
672
+ clientSecret: string;
673
+ } | {
674
+ type: "oauth-authorizationCode";
675
+ token: string;
676
+ clientSecret: string;
677
+ }>;
678
+ externalDocs?: {
679
+ url: string;
680
+ description?: string | undefined;
681
+ } | undefined;
682
+ jsonSchemaDialect?: string | undefined;
683
+ info?: {
684
+ title: string;
685
+ version: string;
686
+ description?: string | undefined;
687
+ summary?: string | undefined;
688
+ termsOfService?: string | undefined;
689
+ contact?: {
690
+ name?: string | undefined;
691
+ url?: string | undefined;
692
+ email?: string | undefined;
693
+ } | undefined;
694
+ license?: {
695
+ name: string;
696
+ identifier?: string | undefined;
697
+ url?: string | undefined;
698
+ } | undefined;
699
+ } | undefined;
700
+ components?: Record<string, unknown> | undefined;
701
+ webhooks?: Record<string, unknown> | undefined;
702
+ };
703
+ deleteCollection: (collection: Collection, workspace: Workspace) => void;
704
+ };
705
+ //# sourceMappingURL=collections.d.ts.map