@scalar/api-client 2.3.8 → 2.3.10

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 (97) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -1
  3. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  4. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  5. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +8 -8
  6. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  7. package/dist/components/ScalarHotkey.vue.d.ts +1 -1
  8. package/dist/components/ScalarHotkey.vue.d.ts.map +1 -1
  9. package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
  10. package/dist/components/Server/ServerDropdownItem.vue.js +2 -2
  11. package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts +2 -0
  12. package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts.map +1 -0
  13. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  14. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +8 -8
  15. package/dist/layouts/App/create-api-client-app.d.ts +658 -473
  16. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  17. package/dist/layouts/Modal/create-api-client-modal.d.ts +1337 -967
  18. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  19. package/dist/layouts/Modal/create-api-client-modal.js +4 -4
  20. package/dist/layouts/Web/create-api-client-web.d.ts +658 -473
  21. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  22. package/dist/libs/create-client.d.ts +651 -466
  23. package/dist/libs/create-client.d.ts.map +1 -1
  24. package/dist/libs/create-client.js +18 -20
  25. package/dist/libs/find-request.d.ts +4 -4
  26. package/dist/libs/find-request.d.ts.map +1 -1
  27. package/dist/libs/hot-keys.d.ts +2 -2
  28. package/dist/libs/send-request/build-request-security.d.ts +2 -2
  29. package/dist/libs/send-request/create-request-operation.test.d.ts +49 -47
  30. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  31. package/dist/store/active-entities.d.ts +67 -61
  32. package/dist/store/active-entities.d.ts.map +1 -1
  33. package/dist/store/collections.d.ts +44 -34
  34. package/dist/store/collections.d.ts.map +1 -1
  35. package/dist/store/cookies.d.ts +18 -18
  36. package/dist/store/environment.d.ts +9 -9
  37. package/dist/store/import-spec.d.ts +154 -2
  38. package/dist/store/import-spec.d.ts.map +1 -1
  39. package/dist/store/request-example.d.ts +272 -272
  40. package/dist/store/request-example.d.ts.map +1 -1
  41. package/dist/store/requests.d.ts +44 -44
  42. package/dist/store/requests.d.ts.map +1 -1
  43. package/dist/store/security-schemes.d.ts +10 -10
  44. package/dist/store/security-schemes.d.ts.map +1 -1
  45. package/dist/store/servers.d.ts +50 -30
  46. package/dist/store/servers.d.ts.map +1 -1
  47. package/dist/store/store.d.ts +655 -470
  48. package/dist/store/store.d.ts.map +1 -1
  49. package/dist/store/tags.d.ts +10 -10
  50. package/dist/store/workspace.d.ts +44 -44
  51. package/dist/style.css +1 -1
  52. package/dist/views/Collection/CollectionAuthentication.vue.d.ts +1 -1
  53. package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +1 -1
  54. package/dist/views/Collection/CollectionAuthentication.vue.js +5 -2
  55. package/dist/views/Collection/CollectionAuthentication.vue2.js +52 -11
  56. package/dist/views/Collection/CollectionNavigation.vue.js +34 -34
  57. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
  58. package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -1
  59. package/dist/views/Collection/CollectionSettings.vue.js +2 -2
  60. package/dist/views/Collection/CollectionSettings.vue2.js +1 -1
  61. package/dist/views/Request/Request.vue.d.ts +2 -0
  62. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  63. package/dist/views/Request/Request.vue.js +2 -2
  64. package/dist/views/Request/Request.vue2.js +71 -75
  65. package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
  66. package/dist/views/Request/RequestRoot.vue.js +1 -1
  67. package/dist/views/Request/RequestRoot.vue2.js +49 -46
  68. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  69. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +24 -24
  70. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +1 -1
  71. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  72. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
  73. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +1 -1
  74. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  75. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  76. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +1 -1
  77. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  78. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
  79. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
  80. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  81. package/dist/views/Request/RequestSection/RequestSection.test.d.ts +2 -0
  82. package/dist/views/Request/RequestSection/RequestSection.test.d.ts.map +1 -0
  83. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
  84. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  85. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  86. package/dist/views/Request/RequestSection/RequestSection.vue2.js +26 -19
  87. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +1 -1
  88. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  89. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  90. package/dist/views/Request/RequestSection/RequestTable.vue2.js +191 -193
  91. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  92. package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts +2 -0
  93. package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts.map +1 -0
  94. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  95. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
  96. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +50 -47
  97. package/package.json +13 -13
@@ -7,10 +7,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
7
7
  updateConfig: (_newConfig: Partial<ApiClientConfiguration>) => Promise<void>;
8
8
  updateServer: (serverUrl: string) => void;
9
9
  onUpdateServer: (callback: (url: string) => void) => void;
10
- updateAuth: <P extends import("@scalar/object-utils/nested").Path<import("@scalar/oas-utils/entities/spec").SecurityScheme>>({ nameKey, propertyKey, value, }: {
10
+ updateAuth: <P extends import("@scalar/object-utils/nested").Path<import("@scalar/types/entities").SecurityScheme>>({ nameKey, propertyKey, value, }: {
11
11
  nameKey: string;
12
12
  propertyKey: P;
13
- value: NonNullable<import("@scalar/object-utils/nested").PathValue<import("@scalar/oas-utils/entities/spec").SecurityScheme, P>>;
13
+ value: NonNullable<import("@scalar/object-utils/nested").PathValue<import("@scalar/types/entities").SecurityScheme, P>>;
14
14
  }) => void;
15
15
  route: (payload?: import("../../libs").OpenClientPayload) => void;
16
16
  open: (payload?: import("../../libs").OpenClientPayload) => void;
@@ -25,27 +25,27 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
25
25
  uid: string & import("zod").BRAND<"workspace">;
26
26
  name: string;
27
27
  description: string;
28
+ cookies: (string & import("zod").BRAND<"cookie">)[];
28
29
  collections: (string & import("zod").BRAND<"collection">)[];
29
30
  environments: Record<string, string>;
30
31
  activeEnvironmentId: string;
31
- cookies: (string & import("zod").BRAND<"cookie">)[];
32
32
  themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
33
33
  selectedHttpClient: {
34
34
  targetKey: string;
35
35
  clientKey: string;
36
36
  };
37
37
  hotKeyConfig?: {
38
- modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
39
- hotKeys?: Partial<Record<"" | "/" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
38
+ modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
39
+ hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
40
40
  event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
41
- modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
41
+ modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
42
42
  }>> | undefined;
43
43
  } | undefined;
44
44
  proxyUrl?: string | undefined;
45
45
  }>;
46
46
  collections: Record<string, {
47
- type: "collection";
48
47
  uid: string & import("zod").BRAND<"collection">;
48
+ type: "collection";
49
49
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
50
50
  openapi: string;
51
51
  info: {
@@ -73,6 +73,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
73
73
  requests: (string & import("zod").BRAND<"operation">)[];
74
74
  tags: (string & import("zod").BRAND<"tag">)[];
75
75
  watchMode: boolean;
76
+ useCollectionSecurity: boolean;
76
77
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
77
78
  externalDocs?: {
78
79
  url: string;
@@ -87,21 +88,21 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
87
88
  default: string;
88
89
  description?: string | undefined;
89
90
  }>;
90
- description?: string | undefined;
91
91
  color?: string | undefined;
92
+ description?: string | undefined;
92
93
  }> | undefined;
93
94
  'x-scalar-secrets'?: Record<string, {
94
- example?: string | undefined;
95
95
  description?: string | undefined;
96
+ example?: string | undefined;
96
97
  }> | undefined;
97
98
  selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
98
99
  documentUrl?: string | undefined;
99
100
  integration?: string | null | undefined;
100
101
  }>;
101
102
  tags: Record<string, {
102
- type: "tag";
103
103
  uid: string & import("zod").BRAND<"tag">;
104
104
  name: string;
105
+ type: "tag";
105
106
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
106
107
  description?: string | undefined;
107
108
  externalDocs?: {
@@ -115,23 +116,51 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
115
116
  'x-scalar-ignore'?: boolean | undefined;
116
117
  }>;
117
118
  cookies: Record<string, {
118
- value: string;
119
119
  uid: string & import("zod").BRAND<"cookie">;
120
120
  name: string;
121
- path?: string | undefined;
121
+ value: string;
122
122
  domain?: string | undefined;
123
+ path?: string | undefined;
123
124
  }>;
124
125
  environments: Record<string, {
125
- value: string;
126
126
  uid: string & import("zod").BRAND<"environment">;
127
127
  name: string;
128
+ value: string;
128
129
  color: string;
129
130
  isDefault?: boolean | undefined;
130
131
  }>;
131
132
  requestExamples: Record<string, {
132
- type: "requestExample";
133
133
  uid: string & import("zod").BRAND<"example">;
134
134
  name: string;
135
+ type: "requestExample";
136
+ body: {
137
+ activeBody: "formData" | "binary" | "raw";
138
+ formData?: {
139
+ value: {
140
+ value: string;
141
+ key: string;
142
+ enabled: boolean;
143
+ minimum?: number | undefined;
144
+ type?: string | string[] | undefined;
145
+ maximum?: number | undefined;
146
+ description?: string | undefined;
147
+ default?: any;
148
+ required?: boolean | undefined;
149
+ examples?: string[] | undefined;
150
+ format?: string | undefined;
151
+ enum?: string[] | undefined;
152
+ file?: any;
153
+ nullable?: boolean | undefined;
154
+ }[];
155
+ encoding: "form-data" | "urlencoded";
156
+ } | undefined;
157
+ binary?: Blob | undefined;
158
+ raw?: {
159
+ value: string;
160
+ encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
161
+ mimeType?: string | undefined;
162
+ } | undefined;
163
+ };
135
164
  parameters: {
136
165
  path: {
137
166
  value: string;
@@ -140,99 +169,71 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
140
169
  minimum?: number | undefined;
141
170
  type?: string | string[] | undefined;
142
171
  maximum?: number | undefined;
172
+ description?: string | undefined;
143
173
  default?: any;
144
174
  required?: boolean | undefined;
145
- description?: string | undefined;
146
- enum?: string[] | undefined;
147
175
  examples?: string[] | undefined;
148
176
  format?: string | undefined;
177
+ enum?: string[] | undefined;
149
178
  file?: any;
150
179
  nullable?: boolean | undefined;
151
180
  }[];
152
- cookies: {
181
+ query: {
153
182
  value: string;
154
183
  key: string;
155
184
  enabled: boolean;
156
185
  minimum?: number | undefined;
157
186
  type?: string | string[] | undefined;
158
187
  maximum?: number | undefined;
188
+ description?: string | undefined;
159
189
  default?: any;
160
190
  required?: boolean | undefined;
161
- description?: string | undefined;
162
- enum?: string[] | undefined;
163
191
  examples?: string[] | undefined;
164
192
  format?: string | undefined;
193
+ enum?: string[] | undefined;
165
194
  file?: any;
166
195
  nullable?: boolean | undefined;
167
196
  }[];
168
- query: {
197
+ headers: {
169
198
  value: string;
170
199
  key: string;
171
200
  enabled: boolean;
172
201
  minimum?: number | undefined;
173
202
  type?: string | string[] | undefined;
174
203
  maximum?: number | undefined;
204
+ description?: string | undefined;
175
205
  default?: any;
176
206
  required?: boolean | undefined;
177
- description?: string | undefined;
178
- enum?: string[] | undefined;
179
207
  examples?: string[] | undefined;
180
208
  format?: string | undefined;
209
+ enum?: string[] | undefined;
181
210
  file?: any;
182
211
  nullable?: boolean | undefined;
183
212
  }[];
184
- headers: {
213
+ cookies: {
185
214
  value: string;
186
215
  key: string;
187
216
  enabled: boolean;
188
217
  minimum?: number | undefined;
189
218
  type?: string | string[] | undefined;
190
219
  maximum?: number | undefined;
220
+ description?: string | undefined;
191
221
  default?: any;
192
222
  required?: boolean | undefined;
193
- description?: string | undefined;
194
- enum?: string[] | undefined;
195
223
  examples?: string[] | undefined;
196
224
  format?: string | undefined;
225
+ enum?: string[] | undefined;
197
226
  file?: any;
198
227
  nullable?: boolean | undefined;
199
228
  }[];
200
229
  };
201
- body: {
202
- activeBody: "binary" | "formData" | "raw";
203
- binary?: Blob | undefined;
204
- formData?: {
205
- value: {
206
- value: string;
207
- key: string;
208
- enabled: boolean;
209
- minimum?: number | undefined;
210
- type?: string | string[] | undefined;
211
- maximum?: number | undefined;
212
- default?: any;
213
- required?: boolean | undefined;
214
- description?: string | undefined;
215
- enum?: string[] | undefined;
216
- examples?: string[] | undefined;
217
- format?: string | undefined;
218
- file?: any;
219
- nullable?: boolean | undefined;
220
- }[];
221
- encoding: "form-data" | "urlencoded";
222
- } | undefined;
223
- raw?: {
224
- value: string;
225
- encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
226
- mimeType?: string | undefined;
227
- } | undefined;
228
- };
229
230
  requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
230
231
  serverVariables?: Record<string, string[]> | undefined;
231
232
  }>;
232
233
  requests: Record<string, {
234
+ uid: string & import("zod").BRAND<"operation">;
233
235
  path: string;
234
236
  type: "request";
235
- uid: string & import("zod").BRAND<"operation">;
236
237
  selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
237
238
  selectedServerUid: (string & import("zod").BRAND<"server">) | null;
238
239
  servers: (string & import("zod").BRAND<"server">)[];
@@ -251,12 +252,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
251
252
  deprecated?: boolean | undefined;
252
253
  operationId?: string | undefined;
253
254
  parameters?: {
254
- required: boolean;
255
255
  name: string;
256
- in: "path" | "cookie" | "query" | "header";
256
+ required: boolean;
257
+ in: "cookie" | "path" | "query" | "header";
257
258
  deprecated: boolean;
258
- example?: unknown;
259
259
  description?: string | undefined;
260
+ example?: unknown;
260
261
  schema?: unknown;
261
262
  content?: unknown;
262
263
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -273,17 +274,19 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
273
274
  uid: string & import("zod").BRAND<"server">;
274
275
  url: string;
275
276
  description?: string | undefined;
276
- variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
277
- enum?: [string, ...string[]];
278
- value?: string;
277
+ variables?: Record<string, {
278
+ value?: string | undefined;
279
+ description?: string | undefined;
280
+ default?: string | undefined;
281
+ enum?: string[] | undefined;
279
282
  }> | undefined;
280
283
  }>;
281
284
  securitySchemes: Record<string, {
282
285
  type: "apiKey";
283
286
  value: string;
284
287
  uid: string & import("zod").BRAND<"securityScheme">;
285
- name: string;
286
288
  nameKey: string;
289
+ name: string;
287
290
  in: "cookie" | "query" | "header";
288
291
  description?: string | undefined;
289
292
  } | {
@@ -377,8 +380,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
377
380
  showSidebar: boolean;
378
381
  integration: "elysiajs" | "fastify" | "vue" | "html" | "go" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | null | undefined;
379
382
  importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
380
- type?: "collection" | undefined;
381
383
  uid?: string | undefined;
384
+ type?: "collection" | undefined;
382
385
  externalDocs?: {
383
386
  url: string;
384
387
  description?: unknown;
@@ -394,15 +397,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
394
397
  'x-scalar-active-environment'?: string | undefined;
395
398
  'x-scalar-environments'?: Record<string, {
396
399
  variables: Record<string, string | {
397
- default?: string | undefined;
398
400
  description?: string | undefined;
401
+ default?: string | undefined;
399
402
  }>;
400
- description?: string | undefined;
401
403
  color?: string | undefined;
404
+ description?: string | undefined;
402
405
  }> | undefined;
403
406
  'x-scalar-secrets'?: Record<string, {
404
- example?: string | undefined;
405
407
  description?: string | undefined;
408
+ example?: string | undefined;
406
409
  }> | undefined;
407
410
  securitySchemes?: string[] | undefined;
408
411
  selectedSecuritySchemeUids?: (string | string[])[] | undefined;
@@ -413,9 +416,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
413
416
  documentUrl?: string | undefined;
414
417
  watchMode?: boolean | undefined;
415
418
  integration?: string | null | undefined;
419
+ useCollectionSecurity?: boolean | undefined;
416
420
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
417
421
  }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
418
- setCollectionSecurity?: boolean;
422
+ useCollectionSecurity?: boolean;
419
423
  shouldLoad?: boolean;
420
424
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
421
425
  error: false;
@@ -425,11 +429,87 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
425
429
  examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
426
430
  servers: import("@scalar/oas-utils/entities/spec").Server[];
427
431
  tags: import("@scalar/oas-utils/entities/spec").Tag[];
428
- securitySchemes: import("@scalar/oas-utils/entities/spec").SecurityScheme[];
432
+ securitySchemes: ({
433
+ uid: string & import("zod").BRAND<"securityScheme">;
434
+ name: string;
435
+ value: string;
436
+ type: "apiKey";
437
+ in: "cookie" | "query" | "header";
438
+ nameKey: string;
439
+ description?: string | undefined;
440
+ } | {
441
+ uid: string & import("zod").BRAND<"securityScheme">;
442
+ type: "http";
443
+ password: string;
444
+ nameKey: string;
445
+ scheme: "basic" | "bearer";
446
+ bearerFormat: string;
447
+ username: string;
448
+ token: string;
449
+ description?: string | undefined;
450
+ } | {
451
+ uid: string & import("zod").BRAND<"securityScheme">;
452
+ type: "openIdConnect";
453
+ nameKey: string;
454
+ openIdConnectUrl: string;
455
+ description?: string | undefined;
456
+ } | {
457
+ uid: string & import("zod").BRAND<"securityScheme">;
458
+ type: "oauth2";
459
+ nameKey: string;
460
+ flows: {
461
+ password?: {
462
+ type: "password";
463
+ password: string;
464
+ username: string;
465
+ token: string;
466
+ refreshUrl: string;
467
+ scopes: Record<string, string>;
468
+ selectedScopes: string[];
469
+ "x-scalar-client-id": string;
470
+ tokenUrl: string;
471
+ clientSecret: string;
472
+ } | undefined;
473
+ implicit?: {
474
+ type: "implicit";
475
+ token: string;
476
+ refreshUrl: string;
477
+ scopes: Record<string, string>;
478
+ selectedScopes: string[];
479
+ "x-scalar-client-id": string;
480
+ authorizationUrl: string;
481
+ "x-scalar-redirect-uri": string;
482
+ } | undefined;
483
+ clientCredentials?: {
484
+ type: "clientCredentials";
485
+ token: string;
486
+ refreshUrl: string;
487
+ scopes: Record<string, string>;
488
+ selectedScopes: string[];
489
+ "x-scalar-client-id": string;
490
+ tokenUrl: string;
491
+ clientSecret: string;
492
+ } | undefined;
493
+ authorizationCode?: {
494
+ type: "authorizationCode";
495
+ token: string;
496
+ refreshUrl: string;
497
+ scopes: Record<string, string>;
498
+ selectedScopes: string[];
499
+ "x-scalar-client-id": string;
500
+ authorizationUrl: string;
501
+ "x-scalar-redirect-uri": string;
502
+ tokenUrl: string;
503
+ clientSecret: string;
504
+ "x-usePkce": "SHA-256" | "plain" | "no";
505
+ } | undefined;
506
+ };
507
+ description?: string | undefined;
508
+ })[];
429
509
  } | undefined>;
430
510
  importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
431
- type?: "collection" | undefined;
432
511
  uid?: string | undefined;
512
+ type?: "collection" | undefined;
433
513
  externalDocs?: {
434
514
  url: string;
435
515
  description?: unknown;
@@ -445,15 +525,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
445
525
  'x-scalar-active-environment'?: string | undefined;
446
526
  'x-scalar-environments'?: Record<string, {
447
527
  variables: Record<string, string | {
448
- default?: string | undefined;
449
528
  description?: string | undefined;
529
+ default?: string | undefined;
450
530
  }>;
451
- description?: string | undefined;
452
531
  color?: string | undefined;
532
+ description?: string | undefined;
453
533
  }> | undefined;
454
534
  'x-scalar-secrets'?: Record<string, {
455
- example?: string | undefined;
456
535
  description?: string | undefined;
536
+ example?: string | undefined;
457
537
  }> | undefined;
458
538
  securitySchemes?: string[] | undefined;
459
539
  selectedSecuritySchemeUids?: (string | string[])[] | undefined;
@@ -464,13 +544,14 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
464
544
  documentUrl?: string | undefined;
465
545
  watchMode?: boolean | undefined;
466
546
  integration?: string | null | undefined;
547
+ useCollectionSecurity?: boolean | undefined;
467
548
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
468
549
  }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
469
- setCollectionSecurity?: boolean;
550
+ useCollectionSecurity?: boolean;
470
551
  shouldLoad?: boolean;
471
552
  } & 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<{
472
- type?: "collection" | undefined;
473
553
  uid?: string | undefined;
554
+ type?: "collection" | undefined;
474
555
  externalDocs?: {
475
556
  url: string;
476
557
  description?: unknown;
@@ -486,15 +567,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
486
567
  'x-scalar-active-environment'?: string | undefined;
487
568
  'x-scalar-environments'?: Record<string, {
488
569
  variables: Record<string, string | {
489
- default?: string | undefined;
490
570
  description?: string | undefined;
571
+ default?: string | undefined;
491
572
  }>;
492
- description?: string | undefined;
493
573
  color?: string | undefined;
574
+ description?: string | undefined;
494
575
  }> | undefined;
495
576
  'x-scalar-secrets'?: Record<string, {
496
- example?: string | undefined;
497
577
  description?: string | undefined;
578
+ example?: string | undefined;
498
579
  }> | undefined;
499
580
  securitySchemes?: string[] | undefined;
500
581
  selectedSecuritySchemeUids?: (string | string[])[] | undefined;
@@ -505,9 +586,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
505
586
  documentUrl?: string | undefined;
506
587
  watchMode?: boolean | undefined;
507
588
  integration?: string | null | undefined;
589
+ useCollectionSecurity?: boolean | undefined;
508
590
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
509
591
  }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
510
- setCollectionSecurity?: boolean;
592
+ useCollectionSecurity?: boolean;
511
593
  shouldLoad?: boolean;
512
594
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
513
595
  error: false;
@@ -517,61 +599,137 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
517
599
  examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
518
600
  servers: import("@scalar/oas-utils/entities/spec").Server[];
519
601
  tags: import("@scalar/oas-utils/entities/spec").Tag[];
520
- securitySchemes: import("@scalar/oas-utils/entities/spec").SecurityScheme[];
602
+ securitySchemes: ({
603
+ uid: string & import("zod").BRAND<"securityScheme">;
604
+ name: string;
605
+ value: string;
606
+ type: "apiKey";
607
+ in: "cookie" | "query" | "header";
608
+ nameKey: string;
609
+ description?: string | undefined;
610
+ } | {
611
+ uid: string & import("zod").BRAND<"securityScheme">;
612
+ type: "http";
613
+ password: string;
614
+ nameKey: string;
615
+ scheme: "basic" | "bearer";
616
+ bearerFormat: string;
617
+ username: string;
618
+ token: string;
619
+ description?: string | undefined;
620
+ } | {
621
+ uid: string & import("zod").BRAND<"securityScheme">;
622
+ type: "openIdConnect";
623
+ nameKey: string;
624
+ openIdConnectUrl: string;
625
+ description?: string | undefined;
626
+ } | {
627
+ uid: string & import("zod").BRAND<"securityScheme">;
628
+ type: "oauth2";
629
+ nameKey: string;
630
+ flows: {
631
+ password?: {
632
+ type: "password";
633
+ password: string;
634
+ username: string;
635
+ token: string;
636
+ refreshUrl: string;
637
+ scopes: Record<string, string>;
638
+ selectedScopes: string[];
639
+ "x-scalar-client-id": string;
640
+ tokenUrl: string;
641
+ clientSecret: string;
642
+ } | undefined;
643
+ implicit?: {
644
+ type: "implicit";
645
+ token: string;
646
+ refreshUrl: string;
647
+ scopes: Record<string, string>;
648
+ selectedScopes: string[];
649
+ "x-scalar-client-id": string;
650
+ authorizationUrl: string;
651
+ "x-scalar-redirect-uri": string;
652
+ } | undefined;
653
+ clientCredentials?: {
654
+ type: "clientCredentials";
655
+ token: string;
656
+ refreshUrl: string;
657
+ scopes: Record<string, string>;
658
+ selectedScopes: string[];
659
+ "x-scalar-client-id": string;
660
+ tokenUrl: string;
661
+ clientSecret: string;
662
+ } | undefined;
663
+ authorizationCode?: {
664
+ type: "authorizationCode";
665
+ token: string;
666
+ refreshUrl: string;
667
+ scopes: Record<string, string>;
668
+ selectedScopes: string[];
669
+ "x-scalar-client-id": string;
670
+ authorizationUrl: string;
671
+ "x-scalar-redirect-uri": string;
672
+ tokenUrl: string;
673
+ clientSecret: string;
674
+ "x-usePkce": "SHA-256" | "plain" | "no";
675
+ } | undefined;
676
+ };
677
+ description?: string | undefined;
678
+ })[];
521
679
  } | undefined>>>>>;
522
680
  cookieMutators: {
523
681
  add: (item: {
524
- value: string;
525
682
  uid: string & import("zod").BRAND<"cookie">;
526
683
  name: string;
527
- path?: string | undefined;
684
+ value: string;
528
685
  domain?: string | undefined;
686
+ path?: string | undefined;
529
687
  }) => void;
530
688
  delete: (uid: (string & import("zod").BRAND<"cookie">) | null | undefined) => void;
531
689
  set: (item: {
532
- value: string;
533
690
  uid: string & import("zod").BRAND<"cookie">;
534
691
  name: string;
535
- path?: string | undefined;
692
+ value: string;
536
693
  domain?: string | undefined;
694
+ path?: string | undefined;
537
695
  }) => void;
538
696
  edit: <P extends "value" | "path" | "name" | "uid" | "domain">(uid: (string & import("zod").BRAND<"cookie">) | null | undefined, path: P, value: P extends "value" | "path" | "name" | "uid" | "domain" ? {
539
- value: string;
540
697
  uid: string & import("zod").BRAND<"cookie">;
541
698
  name: string;
542
- path?: string | undefined;
699
+ value: string;
543
700
  domain?: string | undefined;
701
+ path?: string | undefined;
544
702
  }[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "path" | "name" | "uid" | "domain" ? R extends import("@scalar/object-utils/nested").Path<{
545
- value: string;
546
703
  uid: string & import("zod").BRAND<"cookie">;
547
704
  name: string;
548
- path?: string | undefined;
705
+ value: string;
549
706
  domain?: string | undefined;
707
+ path?: string | undefined;
550
708
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
551
- value: string;
552
709
  uid: string & import("zod").BRAND<"cookie">;
553
710
  name: string;
554
- path?: string | undefined;
711
+ value: string;
555
712
  domain?: string | undefined;
713
+ path?: string | undefined;
556
714
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
557
715
  untrackedEdit: <P extends "value" | "path" | "name" | "uid" | "domain">(uid: string & import("zod").BRAND<"cookie">, path: P, value: P extends "value" | "path" | "name" | "uid" | "domain" ? {
558
- value: string;
559
716
  uid: string & import("zod").BRAND<"cookie">;
560
717
  name: string;
561
- path?: string | undefined;
718
+ value: string;
562
719
  domain?: string | undefined;
720
+ path?: string | undefined;
563
721
  }[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "path" | "name" | "uid" | "domain" ? R extends import("@scalar/object-utils/nested").Path<{
564
- value: string;
565
722
  uid: string & import("zod").BRAND<"cookie">;
566
723
  name: string;
567
- path?: string | undefined;
724
+ value: string;
568
725
  domain?: string | undefined;
726
+ path?: string | undefined;
569
727
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
570
- value: string;
571
728
  uid: string & import("zod").BRAND<"cookie">;
572
729
  name: string;
573
- path?: string | undefined;
730
+ value: string;
574
731
  domain?: string | undefined;
732
+ path?: string | undefined;
575
733
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
576
734
  undo: (uid: string & import("zod").BRAND<"cookie">) => void;
577
735
  redo: (uid: string & import("zod").BRAND<"cookie">) => void;
@@ -579,8 +737,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
579
737
  };
580
738
  collectionMutators: {
581
739
  rawAdd: (item: {
582
- type: "collection";
583
740
  uid: string & import("zod").BRAND<"collection">;
741
+ type: "collection";
584
742
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
585
743
  openapi: string;
586
744
  info: {
@@ -608,6 +766,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
608
766
  requests: (string & import("zod").BRAND<"operation">)[];
609
767
  tags: (string & import("zod").BRAND<"tag">)[];
610
768
  watchMode: boolean;
769
+ useCollectionSecurity: boolean;
611
770
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
612
771
  externalDocs?: {
613
772
  url: string;
@@ -622,20 +781,20 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
622
781
  default: string;
623
782
  description?: string | undefined;
624
783
  }>;
625
- description?: string | undefined;
626
784
  color?: string | undefined;
785
+ description?: string | undefined;
627
786
  }> | undefined;
628
787
  'x-scalar-secrets'?: Record<string, {
629
- example?: string | undefined;
630
788
  description?: string | undefined;
789
+ example?: string | undefined;
631
790
  }> | undefined;
632
791
  selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
633
792
  documentUrl?: string | undefined;
634
793
  integration?: string | null | undefined;
635
794
  }) => void;
636
- add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: import("@scalar/oas-utils/entities").Workspace["uid"]) => {
637
- type: "collection";
795
+ add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: import("@scalar/oas-utils/entities/workspace").Workspace["uid"]) => {
638
796
  uid: string & import("zod").BRAND<"collection">;
797
+ type: "collection";
639
798
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
640
799
  openapi: string;
641
800
  info: {
@@ -663,6 +822,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
663
822
  requests: (string & import("zod").BRAND<"operation">)[];
664
823
  tags: (string & import("zod").BRAND<"tag">)[];
665
824
  watchMode: boolean;
825
+ useCollectionSecurity: boolean;
666
826
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
667
827
  externalDocs?: {
668
828
  url: string;
@@ -677,23 +837,23 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
677
837
  default: string;
678
838
  description?: string | undefined;
679
839
  }>;
680
- description?: string | undefined;
681
840
  color?: string | undefined;
841
+ description?: string | undefined;
682
842
  }> | undefined;
683
843
  'x-scalar-secrets'?: Record<string, {
684
- example?: string | undefined;
685
844
  description?: string | undefined;
845
+ example?: string | undefined;
686
846
  }> | undefined;
687
847
  selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
688
848
  documentUrl?: string | undefined;
689
849
  integration?: string | null | undefined;
690
850
  };
691
- delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
851
+ delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities/workspace").Workspace) => void;
692
852
  addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
693
853
  removeEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
694
854
  set: (item: {
695
- type: "collection";
696
855
  uid: string & import("zod").BRAND<"collection">;
856
+ type: "collection";
697
857
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
698
858
  openapi: string;
699
859
  info: {
@@ -721,6 +881,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
721
881
  requests: (string & import("zod").BRAND<"operation">)[];
722
882
  tags: (string & import("zod").BRAND<"tag">)[];
723
883
  watchMode: boolean;
884
+ useCollectionSecurity: boolean;
724
885
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
725
886
  externalDocs?: {
726
887
  url: string;
@@ -735,20 +896,20 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
735
896
  default: string;
736
897
  description?: string | undefined;
737
898
  }>;
738
- description?: string | undefined;
739
899
  color?: string | undefined;
900
+ description?: string | undefined;
740
901
  }> | undefined;
741
902
  'x-scalar-secrets'?: Record<string, {
742
- example?: string | undefined;
743
903
  description?: string | undefined;
904
+ example?: string | undefined;
744
905
  }> | undefined;
745
906
  selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
746
907
  documentUrl?: string | undefined;
747
908
  integration?: string | null | undefined;
748
909
  }) => void;
749
- edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: (string & import("zod").BRAND<"collection">) | null | undefined, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
750
- type: "collection";
910
+ edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: (string & import("zod").BRAND<"collection">) | null | undefined, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
751
911
  uid: string & import("zod").BRAND<"collection">;
912
+ type: "collection";
752
913
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
753
914
  openapi: string;
754
915
  info: {
@@ -776,6 +937,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
776
937
  requests: (string & import("zod").BRAND<"operation">)[];
777
938
  tags: (string & import("zod").BRAND<"tag">)[];
778
939
  watchMode: boolean;
940
+ useCollectionSecurity: boolean;
779
941
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
780
942
  externalDocs?: {
781
943
  url: string;
@@ -790,19 +952,19 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
790
952
  default: string;
791
953
  description?: string | undefined;
792
954
  }>;
793
- description?: string | undefined;
794
955
  color?: string | undefined;
956
+ description?: string | undefined;
795
957
  }> | undefined;
796
958
  'x-scalar-secrets'?: Record<string, {
797
- example?: string | undefined;
798
959
  description?: string | undefined;
960
+ example?: string | undefined;
799
961
  }> | undefined;
800
962
  selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
801
963
  documentUrl?: string | undefined;
802
964
  integration?: string | null | undefined;
803
- }[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
804
- type: "collection";
965
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
805
966
  uid: string & import("zod").BRAND<"collection">;
967
+ type: "collection";
806
968
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
807
969
  openapi: string;
808
970
  info: {
@@ -830,6 +992,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
830
992
  requests: (string & import("zod").BRAND<"operation">)[];
831
993
  tags: (string & import("zod").BRAND<"tag">)[];
832
994
  watchMode: boolean;
995
+ useCollectionSecurity: boolean;
833
996
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
834
997
  externalDocs?: {
835
998
  url: string;
@@ -844,19 +1007,19 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
844
1007
  default: string;
845
1008
  description?: string | undefined;
846
1009
  }>;
847
- description?: string | undefined;
848
1010
  color?: string | undefined;
1011
+ description?: string | undefined;
849
1012
  }> | undefined;
850
1013
  'x-scalar-secrets'?: Record<string, {
851
- example?: string | undefined;
852
1014
  description?: string | undefined;
1015
+ example?: string | undefined;
853
1016
  }> | undefined;
854
1017
  selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
855
1018
  documentUrl?: string | undefined;
856
1019
  integration?: string | null | undefined;
857
1020
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
858
- type: "collection";
859
1021
  uid: string & import("zod").BRAND<"collection">;
1022
+ type: "collection";
860
1023
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
861
1024
  openapi: string;
862
1025
  info: {
@@ -884,6 +1047,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
884
1047
  requests: (string & import("zod").BRAND<"operation">)[];
885
1048
  tags: (string & import("zod").BRAND<"tag">)[];
886
1049
  watchMode: boolean;
1050
+ useCollectionSecurity: boolean;
887
1051
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
888
1052
  externalDocs?: {
889
1053
  url: string;
@@ -898,20 +1062,20 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
898
1062
  default: string;
899
1063
  description?: string | undefined;
900
1064
  }>;
901
- description?: string | undefined;
902
1065
  color?: string | undefined;
1066
+ description?: string | undefined;
903
1067
  }> | undefined;
904
1068
  'x-scalar-secrets'?: Record<string, {
905
- example?: string | undefined;
906
1069
  description?: string | undefined;
1070
+ example?: string | undefined;
907
1071
  }> | undefined;
908
1072
  selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
909
1073
  documentUrl?: string | undefined;
910
1074
  integration?: string | null | undefined;
911
1075
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
912
- untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: string & import("zod").BRAND<"collection">, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
913
- type: "collection";
1076
+ untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: string & import("zod").BRAND<"collection">, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
914
1077
  uid: string & import("zod").BRAND<"collection">;
1078
+ type: "collection";
915
1079
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
916
1080
  openapi: string;
917
1081
  info: {
@@ -939,6 +1103,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
939
1103
  requests: (string & import("zod").BRAND<"operation">)[];
940
1104
  tags: (string & import("zod").BRAND<"tag">)[];
941
1105
  watchMode: boolean;
1106
+ useCollectionSecurity: boolean;
942
1107
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
943
1108
  externalDocs?: {
944
1109
  url: string;
@@ -953,19 +1118,19 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
953
1118
  default: string;
954
1119
  description?: string | undefined;
955
1120
  }>;
956
- description?: string | undefined;
957
1121
  color?: string | undefined;
1122
+ description?: string | undefined;
958
1123
  }> | undefined;
959
1124
  'x-scalar-secrets'?: Record<string, {
960
- example?: string | undefined;
961
1125
  description?: string | undefined;
1126
+ example?: string | undefined;
962
1127
  }> | undefined;
963
1128
  selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
964
1129
  documentUrl?: string | undefined;
965
1130
  integration?: string | null | undefined;
966
- }[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
967
- type: "collection";
1131
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
968
1132
  uid: string & import("zod").BRAND<"collection">;
1133
+ type: "collection";
969
1134
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
970
1135
  openapi: string;
971
1136
  info: {
@@ -993,6 +1158,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
993
1158
  requests: (string & import("zod").BRAND<"operation">)[];
994
1159
  tags: (string & import("zod").BRAND<"tag">)[];
995
1160
  watchMode: boolean;
1161
+ useCollectionSecurity: boolean;
996
1162
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
997
1163
  externalDocs?: {
998
1164
  url: string;
@@ -1007,19 +1173,19 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1007
1173
  default: string;
1008
1174
  description?: string | undefined;
1009
1175
  }>;
1010
- description?: string | undefined;
1011
1176
  color?: string | undefined;
1177
+ description?: string | undefined;
1012
1178
  }> | undefined;
1013
1179
  'x-scalar-secrets'?: Record<string, {
1014
- example?: string | undefined;
1015
1180
  description?: string | undefined;
1181
+ example?: string | undefined;
1016
1182
  }> | undefined;
1017
1183
  selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
1018
1184
  documentUrl?: string | undefined;
1019
1185
  integration?: string | null | undefined;
1020
1186
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
1021
- type: "collection";
1022
1187
  uid: string & import("zod").BRAND<"collection">;
1188
+ type: "collection";
1023
1189
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
1024
1190
  openapi: string;
1025
1191
  info: {
@@ -1047,6 +1213,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1047
1213
  requests: (string & import("zod").BRAND<"operation">)[];
1048
1214
  tags: (string & import("zod").BRAND<"tag">)[];
1049
1215
  watchMode: boolean;
1216
+ useCollectionSecurity: boolean;
1050
1217
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
1051
1218
  externalDocs?: {
1052
1219
  url: string;
@@ -1061,12 +1228,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1061
1228
  default: string;
1062
1229
  description?: string | undefined;
1063
1230
  }>;
1064
- description?: string | undefined;
1065
1231
  color?: string | undefined;
1232
+ description?: string | undefined;
1066
1233
  }> | undefined;
1067
1234
  'x-scalar-secrets'?: Record<string, {
1068
- example?: string | undefined;
1069
1235
  description?: string | undefined;
1236
+ example?: string | undefined;
1070
1237
  }> | undefined;
1071
1238
  selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
1072
1239
  documentUrl?: string | undefined;
@@ -1079,54 +1246,54 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1079
1246
  environmentMutators: {
1080
1247
  delete: (uid: import("@scalar/oas-utils/entities/environment").Environment["uid"]) => void;
1081
1248
  add: (item: {
1082
- value: string;
1083
1249
  uid: string & import("zod").BRAND<"environment">;
1084
1250
  name: string;
1251
+ value: string;
1085
1252
  color: string;
1086
1253
  isDefault?: boolean | undefined;
1087
1254
  }) => void;
1088
1255
  set: (item: {
1089
- value: string;
1090
1256
  uid: string & import("zod").BRAND<"environment">;
1091
1257
  name: string;
1258
+ value: string;
1092
1259
  color: string;
1093
1260
  isDefault?: boolean | undefined;
1094
1261
  }) => void;
1095
1262
  edit: <P extends "value" | "name" | "uid" | "color" | "isDefault">(uid: (string & import("zod").BRAND<"environment">) | null | undefined, path: P, value: P extends "value" | "name" | "uid" | "color" | "isDefault" ? {
1096
- value: string;
1097
1263
  uid: string & import("zod").BRAND<"environment">;
1098
1264
  name: string;
1265
+ value: string;
1099
1266
  color: string;
1100
1267
  isDefault?: boolean | undefined;
1101
1268
  }[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "name" | "uid" | "color" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
1102
- value: string;
1103
1269
  uid: string & import("zod").BRAND<"environment">;
1104
1270
  name: string;
1271
+ value: string;
1105
1272
  color: string;
1106
1273
  isDefault?: boolean | undefined;
1107
1274
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
1108
- value: string;
1109
1275
  uid: string & import("zod").BRAND<"environment">;
1110
1276
  name: string;
1277
+ value: string;
1111
1278
  color: string;
1112
1279
  isDefault?: boolean | undefined;
1113
1280
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
1114
1281
  untrackedEdit: <P extends "value" | "name" | "uid" | "color" | "isDefault">(uid: string & import("zod").BRAND<"environment">, path: P, value: P extends "value" | "name" | "uid" | "color" | "isDefault" ? {
1115
- value: string;
1116
1282
  uid: string & import("zod").BRAND<"environment">;
1117
1283
  name: string;
1284
+ value: string;
1118
1285
  color: string;
1119
1286
  isDefault?: boolean | undefined;
1120
1287
  }[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "name" | "uid" | "color" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
1121
- value: string;
1122
1288
  uid: string & import("zod").BRAND<"environment">;
1123
1289
  name: string;
1290
+ value: string;
1124
1291
  color: string;
1125
1292
  isDefault?: boolean | undefined;
1126
1293
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
1127
- value: string;
1128
1294
  uid: string & import("zod").BRAND<"environment">;
1129
1295
  name: string;
1296
+ value: string;
1130
1297
  color: string;
1131
1298
  isDefault?: boolean | undefined;
1132
1299
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
@@ -1136,9 +1303,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1136
1303
  };
1137
1304
  requestMutators: {
1138
1305
  rawAdd: (item: {
1306
+ uid: string & import("zod").BRAND<"operation">;
1139
1307
  path: string;
1140
1308
  type: "request";
1141
- uid: string & import("zod").BRAND<"operation">;
1142
1309
  selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
1143
1310
  selectedServerUid: (string & import("zod").BRAND<"server">) | null;
1144
1311
  servers: (string & import("zod").BRAND<"server">)[];
@@ -1157,12 +1324,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1157
1324
  deprecated?: boolean | undefined;
1158
1325
  operationId?: string | undefined;
1159
1326
  parameters?: {
1160
- required: boolean;
1161
1327
  name: string;
1162
- in: "path" | "cookie" | "query" | "header";
1328
+ required: boolean;
1329
+ in: "cookie" | "path" | "query" | "header";
1163
1330
  deprecated: boolean;
1164
- example?: unknown;
1165
1331
  description?: string | undefined;
1332
+ example?: unknown;
1166
1333
  schema?: unknown;
1167
1334
  content?: unknown;
1168
1335
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -1176,9 +1343,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1176
1343
  'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
1177
1344
  }) => void;
1178
1345
  add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
1346
+ uid: string & import("zod").BRAND<"operation">;
1179
1347
  path: string;
1180
1348
  type: "request";
1181
- uid: string & import("zod").BRAND<"operation">;
1182
1349
  selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
1183
1350
  selectedServerUid: (string & import("zod").BRAND<"server">) | null;
1184
1351
  servers: (string & import("zod").BRAND<"server">)[];
@@ -1197,12 +1364,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1197
1364
  deprecated?: boolean | undefined;
1198
1365
  operationId?: string | undefined;
1199
1366
  parameters?: {
1200
- required: boolean;
1201
1367
  name: string;
1202
- in: "path" | "cookie" | "query" | "header";
1368
+ required: boolean;
1369
+ in: "cookie" | "path" | "query" | "header";
1203
1370
  deprecated: boolean;
1204
- example?: unknown;
1205
1371
  description?: string | undefined;
1372
+ example?: unknown;
1206
1373
  schema?: unknown;
1207
1374
  content?: unknown;
1208
1375
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -1217,9 +1384,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1217
1384
  };
1218
1385
  delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
1219
1386
  set: (item: {
1387
+ uid: string & import("zod").BRAND<"operation">;
1220
1388
  path: string;
1221
1389
  type: "request";
1222
- uid: string & import("zod").BRAND<"operation">;
1223
1390
  selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
1224
1391
  selectedServerUid: (string & import("zod").BRAND<"server">) | null;
1225
1392
  servers: (string & import("zod").BRAND<"server">)[];
@@ -1238,12 +1405,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1238
1405
  deprecated?: boolean | undefined;
1239
1406
  operationId?: string | undefined;
1240
1407
  parameters?: {
1241
- required: boolean;
1242
1408
  name: string;
1243
- in: "path" | "cookie" | "query" | "header";
1409
+ required: boolean;
1410
+ in: "cookie" | "path" | "query" | "header";
1244
1411
  deprecated: boolean;
1245
- example?: unknown;
1246
1412
  description?: string | undefined;
1413
+ example?: unknown;
1247
1414
  schema?: unknown;
1248
1415
  content?: unknown;
1249
1416
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -1257,9 +1424,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1257
1424
  'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
1258
1425
  }) => void;
1259
1426
  edit: <P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | "examples" | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.deprecated` | `parameters.${number}.example` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.required` | `parameters.${number}.schema` | `parameters.${number}.examples.${number}` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: (string & import("zod").BRAND<"operation">) | null | undefined, path: P, value: P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? {
1427
+ uid: string & import("zod").BRAND<"operation">;
1260
1428
  path: string;
1261
1429
  type: "request";
1262
- uid: string & import("zod").BRAND<"operation">;
1263
1430
  selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
1264
1431
  selectedServerUid: (string & import("zod").BRAND<"server">) | null;
1265
1432
  servers: (string & import("zod").BRAND<"server">)[];
@@ -1278,12 +1445,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1278
1445
  deprecated?: boolean | undefined;
1279
1446
  operationId?: string | undefined;
1280
1447
  parameters?: {
1281
- required: boolean;
1282
1448
  name: string;
1283
- in: "path" | "cookie" | "query" | "header";
1449
+ required: boolean;
1450
+ in: "cookie" | "path" | "query" | "header";
1284
1451
  deprecated: boolean;
1285
- example?: unknown;
1286
1452
  description?: string | undefined;
1453
+ example?: unknown;
1287
1454
  schema?: unknown;
1288
1455
  content?: unknown;
1289
1456
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -1296,9 +1463,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1296
1463
  responses?: Record<string, any> | undefined;
1297
1464
  'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
1298
1465
  }[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? R extends import("@scalar/object-utils/nested").Path<{
1466
+ uid: string & import("zod").BRAND<"operation">;
1299
1467
  path: string;
1300
1468
  type: "request";
1301
- uid: string & import("zod").BRAND<"operation">;
1302
1469
  selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
1303
1470
  selectedServerUid: (string & import("zod").BRAND<"server">) | null;
1304
1471
  servers: (string & import("zod").BRAND<"server">)[];
@@ -1317,12 +1484,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1317
1484
  deprecated?: boolean | undefined;
1318
1485
  operationId?: string | undefined;
1319
1486
  parameters?: {
1320
- required: boolean;
1321
1487
  name: string;
1322
- in: "path" | "cookie" | "query" | "header";
1488
+ required: boolean;
1489
+ in: "cookie" | "path" | "query" | "header";
1323
1490
  deprecated: boolean;
1324
- example?: unknown;
1325
1491
  description?: string | undefined;
1492
+ example?: unknown;
1326
1493
  schema?: unknown;
1327
1494
  content?: unknown;
1328
1495
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -1335,9 +1502,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1335
1502
  responses?: Record<string, any> | undefined;
1336
1503
  'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
1337
1504
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
1505
+ uid: string & import("zod").BRAND<"operation">;
1338
1506
  path: string;
1339
1507
  type: "request";
1340
- uid: string & import("zod").BRAND<"operation">;
1341
1508
  selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
1342
1509
  selectedServerUid: (string & import("zod").BRAND<"server">) | null;
1343
1510
  servers: (string & import("zod").BRAND<"server">)[];
@@ -1356,12 +1523,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1356
1523
  deprecated?: boolean | undefined;
1357
1524
  operationId?: string | undefined;
1358
1525
  parameters?: {
1359
- required: boolean;
1360
1526
  name: string;
1361
- in: "path" | "cookie" | "query" | "header";
1527
+ required: boolean;
1528
+ in: "cookie" | "path" | "query" | "header";
1362
1529
  deprecated: boolean;
1363
- example?: unknown;
1364
1530
  description?: string | undefined;
1531
+ example?: unknown;
1365
1532
  schema?: unknown;
1366
1533
  content?: unknown;
1367
1534
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -1375,9 +1542,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1375
1542
  'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
1376
1543
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
1377
1544
  untrackedEdit: <P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | "examples" | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.deprecated` | `parameters.${number}.example` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.required` | `parameters.${number}.schema` | `parameters.${number}.examples.${number}` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: string & import("zod").BRAND<"operation">, path: P, value: P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? {
1545
+ uid: string & import("zod").BRAND<"operation">;
1378
1546
  path: string;
1379
1547
  type: "request";
1380
- uid: string & import("zod").BRAND<"operation">;
1381
1548
  selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
1382
1549
  selectedServerUid: (string & import("zod").BRAND<"server">) | null;
1383
1550
  servers: (string & import("zod").BRAND<"server">)[];
@@ -1396,12 +1563,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1396
1563
  deprecated?: boolean | undefined;
1397
1564
  operationId?: string | undefined;
1398
1565
  parameters?: {
1399
- required: boolean;
1400
1566
  name: string;
1401
- in: "path" | "cookie" | "query" | "header";
1567
+ required: boolean;
1568
+ in: "cookie" | "path" | "query" | "header";
1402
1569
  deprecated: boolean;
1403
- example?: unknown;
1404
1570
  description?: string | undefined;
1571
+ example?: unknown;
1405
1572
  schema?: unknown;
1406
1573
  content?: unknown;
1407
1574
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -1414,9 +1581,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1414
1581
  responses?: Record<string, any> | undefined;
1415
1582
  'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
1416
1583
  }[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? R extends import("@scalar/object-utils/nested").Path<{
1584
+ uid: string & import("zod").BRAND<"operation">;
1417
1585
  path: string;
1418
1586
  type: "request";
1419
- uid: string & import("zod").BRAND<"operation">;
1420
1587
  selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
1421
1588
  selectedServerUid: (string & import("zod").BRAND<"server">) | null;
1422
1589
  servers: (string & import("zod").BRAND<"server">)[];
@@ -1435,12 +1602,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1435
1602
  deprecated?: boolean | undefined;
1436
1603
  operationId?: string | undefined;
1437
1604
  parameters?: {
1438
- required: boolean;
1439
1605
  name: string;
1440
- in: "path" | "cookie" | "query" | "header";
1606
+ required: boolean;
1607
+ in: "cookie" | "path" | "query" | "header";
1441
1608
  deprecated: boolean;
1442
- example?: unknown;
1443
1609
  description?: string | undefined;
1610
+ example?: unknown;
1444
1611
  schema?: unknown;
1445
1612
  content?: unknown;
1446
1613
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -1453,9 +1620,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1453
1620
  responses?: Record<string, any> | undefined;
1454
1621
  'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
1455
1622
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
1623
+ uid: string & import("zod").BRAND<"operation">;
1456
1624
  path: string;
1457
1625
  type: "request";
1458
- uid: string & import("zod").BRAND<"operation">;
1459
1626
  selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
1460
1627
  selectedServerUid: (string & import("zod").BRAND<"server">) | null;
1461
1628
  servers: (string & import("zod").BRAND<"server">)[];
@@ -1474,12 +1641,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1474
1641
  deprecated?: boolean | undefined;
1475
1642
  operationId?: string | undefined;
1476
1643
  parameters?: {
1477
- required: boolean;
1478
1644
  name: string;
1479
- in: "path" | "cookie" | "query" | "header";
1645
+ required: boolean;
1646
+ in: "cookie" | "path" | "query" | "header";
1480
1647
  deprecated: boolean;
1481
- example?: unknown;
1482
1648
  description?: string | undefined;
1649
+ example?: unknown;
1483
1650
  schema?: unknown;
1484
1651
  content?: unknown;
1485
1652
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -1499,9 +1666,37 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1499
1666
  findRequestParents: (r: import("@scalar/oas-utils/entities/spec").Request) => string[];
1500
1667
  requestExampleMutators: {
1501
1668
  rawAdd: (item: {
1502
- type: "requestExample";
1503
1669
  uid: string & import("zod").BRAND<"example">;
1504
1670
  name: string;
1671
+ type: "requestExample";
1672
+ body: {
1673
+ activeBody: "formData" | "binary" | "raw";
1674
+ formData?: {
1675
+ value: {
1676
+ value: string;
1677
+ key: string;
1678
+ enabled: boolean;
1679
+ minimum?: number | undefined;
1680
+ type?: string | string[] | undefined;
1681
+ maximum?: number | undefined;
1682
+ description?: string | undefined;
1683
+ default?: any;
1684
+ required?: boolean | undefined;
1685
+ examples?: string[] | undefined;
1686
+ format?: string | undefined;
1687
+ enum?: string[] | undefined;
1688
+ file?: any;
1689
+ nullable?: boolean | undefined;
1690
+ }[];
1691
+ encoding: "form-data" | "urlencoded";
1692
+ } | undefined;
1693
+ binary?: Blob | undefined;
1694
+ raw?: {
1695
+ value: string;
1696
+ encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
1697
+ mimeType?: string | undefined;
1698
+ } | undefined;
1699
+ };
1505
1700
  parameters: {
1506
1701
  path: {
1507
1702
  value: string;
@@ -1510,67 +1705,73 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1510
1705
  minimum?: number | undefined;
1511
1706
  type?: string | string[] | undefined;
1512
1707
  maximum?: number | undefined;
1708
+ description?: string | undefined;
1513
1709
  default?: any;
1514
1710
  required?: boolean | undefined;
1515
- description?: string | undefined;
1516
- enum?: string[] | undefined;
1517
1711
  examples?: string[] | undefined;
1518
1712
  format?: string | undefined;
1713
+ enum?: string[] | undefined;
1519
1714
  file?: any;
1520
1715
  nullable?: boolean | undefined;
1521
1716
  }[];
1522
- cookies: {
1717
+ query: {
1523
1718
  value: string;
1524
1719
  key: string;
1525
1720
  enabled: boolean;
1526
1721
  minimum?: number | undefined;
1527
1722
  type?: string | string[] | undefined;
1528
1723
  maximum?: number | undefined;
1724
+ description?: string | undefined;
1529
1725
  default?: any;
1530
1726
  required?: boolean | undefined;
1531
- description?: string | undefined;
1532
- enum?: string[] | undefined;
1533
1727
  examples?: string[] | undefined;
1534
1728
  format?: string | undefined;
1729
+ enum?: string[] | undefined;
1535
1730
  file?: any;
1536
1731
  nullable?: boolean | undefined;
1537
1732
  }[];
1538
- query: {
1733
+ headers: {
1539
1734
  value: string;
1540
1735
  key: string;
1541
1736
  enabled: boolean;
1542
1737
  minimum?: number | undefined;
1543
1738
  type?: string | string[] | undefined;
1544
1739
  maximum?: number | undefined;
1740
+ description?: string | undefined;
1545
1741
  default?: any;
1546
1742
  required?: boolean | undefined;
1547
- description?: string | undefined;
1548
- enum?: string[] | undefined;
1549
1743
  examples?: string[] | undefined;
1550
1744
  format?: string | undefined;
1745
+ enum?: string[] | undefined;
1551
1746
  file?: any;
1552
1747
  nullable?: boolean | undefined;
1553
1748
  }[];
1554
- headers: {
1749
+ cookies: {
1555
1750
  value: string;
1556
1751
  key: string;
1557
1752
  enabled: boolean;
1558
1753
  minimum?: number | undefined;
1559
1754
  type?: string | string[] | undefined;
1560
1755
  maximum?: number | undefined;
1756
+ description?: string | undefined;
1561
1757
  default?: any;
1562
1758
  required?: boolean | undefined;
1563
- description?: string | undefined;
1564
- enum?: string[] | undefined;
1565
1759
  examples?: string[] | undefined;
1566
1760
  format?: string | undefined;
1761
+ enum?: string[] | undefined;
1567
1762
  file?: any;
1568
1763
  nullable?: boolean | undefined;
1569
1764
  }[];
1570
1765
  };
1766
+ requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
1767
+ serverVariables?: Record<string, string[]> | undefined;
1768
+ }) => void;
1769
+ add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
1770
+ uid: string & import("zod").BRAND<"example">;
1771
+ name: string;
1772
+ type: "requestExample";
1571
1773
  body: {
1572
- activeBody: "binary" | "formData" | "raw";
1573
- binary?: Blob | undefined;
1774
+ activeBody: "formData" | "binary" | "raw";
1574
1775
  formData?: {
1575
1776
  value: {
1576
1777
  value: string;
@@ -1579,30 +1780,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1579
1780
  minimum?: number | undefined;
1580
1781
  type?: string | string[] | undefined;
1581
1782
  maximum?: number | undefined;
1783
+ description?: string | undefined;
1582
1784
  default?: any;
1583
1785
  required?: boolean | undefined;
1584
- description?: string | undefined;
1585
- enum?: string[] | undefined;
1586
1786
  examples?: string[] | undefined;
1587
1787
  format?: string | undefined;
1788
+ enum?: string[] | undefined;
1588
1789
  file?: any;
1589
1790
  nullable?: boolean | undefined;
1590
1791
  }[];
1591
1792
  encoding: "form-data" | "urlencoded";
1592
1793
  } | undefined;
1794
+ binary?: Blob | undefined;
1593
1795
  raw?: {
1594
1796
  value: string;
1595
1797
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
1596
1798
  mimeType?: string | undefined;
1597
1799
  } | undefined;
1598
1800
  };
1599
- requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
1600
- serverVariables?: Record<string, string[]> | undefined;
1601
- }) => void;
1602
- add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
1603
- type: "requestExample";
1604
- uid: string & import("zod").BRAND<"example">;
1605
- name: string;
1606
1801
  parameters: {
1607
1802
  path: {
1608
1803
  value: string;
@@ -1611,67 +1806,74 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1611
1806
  minimum?: number | undefined;
1612
1807
  type?: string | string[] | undefined;
1613
1808
  maximum?: number | undefined;
1809
+ description?: string | undefined;
1614
1810
  default?: any;
1615
1811
  required?: boolean | undefined;
1616
- description?: string | undefined;
1617
- enum?: string[] | undefined;
1618
1812
  examples?: string[] | undefined;
1619
1813
  format?: string | undefined;
1814
+ enum?: string[] | undefined;
1620
1815
  file?: any;
1621
1816
  nullable?: boolean | undefined;
1622
1817
  }[];
1623
- cookies: {
1818
+ query: {
1624
1819
  value: string;
1625
1820
  key: string;
1626
1821
  enabled: boolean;
1627
1822
  minimum?: number | undefined;
1628
1823
  type?: string | string[] | undefined;
1629
1824
  maximum?: number | undefined;
1825
+ description?: string | undefined;
1630
1826
  default?: any;
1631
1827
  required?: boolean | undefined;
1632
- description?: string | undefined;
1633
- enum?: string[] | undefined;
1634
1828
  examples?: string[] | undefined;
1635
1829
  format?: string | undefined;
1830
+ enum?: string[] | undefined;
1636
1831
  file?: any;
1637
1832
  nullable?: boolean | undefined;
1638
1833
  }[];
1639
- query: {
1834
+ headers: {
1640
1835
  value: string;
1641
1836
  key: string;
1642
1837
  enabled: boolean;
1643
1838
  minimum?: number | undefined;
1644
1839
  type?: string | string[] | undefined;
1645
1840
  maximum?: number | undefined;
1841
+ description?: string | undefined;
1646
1842
  default?: any;
1647
1843
  required?: boolean | undefined;
1648
- description?: string | undefined;
1649
- enum?: string[] | undefined;
1650
1844
  examples?: string[] | undefined;
1651
1845
  format?: string | undefined;
1846
+ enum?: string[] | undefined;
1652
1847
  file?: any;
1653
1848
  nullable?: boolean | undefined;
1654
1849
  }[];
1655
- headers: {
1850
+ cookies: {
1656
1851
  value: string;
1657
1852
  key: string;
1658
1853
  enabled: boolean;
1659
1854
  minimum?: number | undefined;
1660
1855
  type?: string | string[] | undefined;
1661
1856
  maximum?: number | undefined;
1857
+ description?: string | undefined;
1662
1858
  default?: any;
1663
1859
  required?: boolean | undefined;
1664
- description?: string | undefined;
1665
- enum?: string[] | undefined;
1666
1860
  examples?: string[] | undefined;
1667
1861
  format?: string | undefined;
1862
+ enum?: string[] | undefined;
1668
1863
  file?: any;
1669
1864
  nullable?: boolean | undefined;
1670
1865
  }[];
1671
1866
  };
1867
+ requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
1868
+ serverVariables?: Record<string, string[]> | undefined;
1869
+ };
1870
+ delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
1871
+ set: (item: {
1872
+ uid: string & import("zod").BRAND<"example">;
1873
+ name: string;
1874
+ type: "requestExample";
1672
1875
  body: {
1673
- activeBody: "binary" | "formData" | "raw";
1674
- binary?: Blob | undefined;
1876
+ activeBody: "formData" | "binary" | "raw";
1675
1877
  formData?: {
1676
1878
  value: {
1677
1879
  value: string;
@@ -1680,31 +1882,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1680
1882
  minimum?: number | undefined;
1681
1883
  type?: string | string[] | undefined;
1682
1884
  maximum?: number | undefined;
1885
+ description?: string | undefined;
1683
1886
  default?: any;
1684
1887
  required?: boolean | undefined;
1685
- description?: string | undefined;
1686
- enum?: string[] | undefined;
1687
1888
  examples?: string[] | undefined;
1688
1889
  format?: string | undefined;
1890
+ enum?: string[] | undefined;
1689
1891
  file?: any;
1690
1892
  nullable?: boolean | undefined;
1691
1893
  }[];
1692
1894
  encoding: "form-data" | "urlencoded";
1693
1895
  } | undefined;
1896
+ binary?: Blob | undefined;
1694
1897
  raw?: {
1695
1898
  value: string;
1696
1899
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
1697
1900
  mimeType?: string | undefined;
1698
1901
  } | undefined;
1699
1902
  };
1700
- requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
1701
- serverVariables?: Record<string, string[]> | undefined;
1702
- };
1703
- delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
1704
- set: (item: {
1705
- type: "requestExample";
1706
- uid: string & import("zod").BRAND<"example">;
1707
- name: string;
1708
1903
  parameters: {
1709
1904
  path: {
1710
1905
  value: string;
@@ -1713,67 +1908,73 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1713
1908
  minimum?: number | undefined;
1714
1909
  type?: string | string[] | undefined;
1715
1910
  maximum?: number | undefined;
1911
+ description?: string | undefined;
1716
1912
  default?: any;
1717
1913
  required?: boolean | undefined;
1718
- description?: string | undefined;
1719
- enum?: string[] | undefined;
1720
1914
  examples?: string[] | undefined;
1721
1915
  format?: string | undefined;
1916
+ enum?: string[] | undefined;
1722
1917
  file?: any;
1723
1918
  nullable?: boolean | undefined;
1724
1919
  }[];
1725
- cookies: {
1920
+ query: {
1726
1921
  value: string;
1727
1922
  key: string;
1728
1923
  enabled: boolean;
1729
1924
  minimum?: number | undefined;
1730
1925
  type?: string | string[] | undefined;
1731
1926
  maximum?: number | undefined;
1927
+ description?: string | undefined;
1732
1928
  default?: any;
1733
1929
  required?: boolean | undefined;
1734
- description?: string | undefined;
1735
- enum?: string[] | undefined;
1736
1930
  examples?: string[] | undefined;
1737
1931
  format?: string | undefined;
1932
+ enum?: string[] | undefined;
1738
1933
  file?: any;
1739
1934
  nullable?: boolean | undefined;
1740
1935
  }[];
1741
- query: {
1936
+ headers: {
1742
1937
  value: string;
1743
1938
  key: string;
1744
1939
  enabled: boolean;
1745
1940
  minimum?: number | undefined;
1746
1941
  type?: string | string[] | undefined;
1747
1942
  maximum?: number | undefined;
1943
+ description?: string | undefined;
1748
1944
  default?: any;
1749
1945
  required?: boolean | undefined;
1750
- description?: string | undefined;
1751
- enum?: string[] | undefined;
1752
1946
  examples?: string[] | undefined;
1753
1947
  format?: string | undefined;
1948
+ enum?: string[] | undefined;
1754
1949
  file?: any;
1755
1950
  nullable?: boolean | undefined;
1756
1951
  }[];
1757
- headers: {
1952
+ cookies: {
1758
1953
  value: string;
1759
1954
  key: string;
1760
1955
  enabled: boolean;
1761
1956
  minimum?: number | undefined;
1762
1957
  type?: string | string[] | undefined;
1763
1958
  maximum?: number | undefined;
1959
+ description?: string | undefined;
1764
1960
  default?: any;
1765
1961
  required?: boolean | undefined;
1766
- description?: string | undefined;
1767
- enum?: string[] | undefined;
1768
1962
  examples?: string[] | undefined;
1769
1963
  format?: string | undefined;
1964
+ enum?: string[] | undefined;
1770
1965
  file?: any;
1771
1966
  nullable?: boolean | undefined;
1772
1967
  }[];
1773
1968
  };
1969
+ requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
1970
+ serverVariables?: Record<string, string[]> | undefined;
1971
+ }) => void;
1972
+ edit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.formData" | "body.binary" | "body.raw" | "body.activeBody" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: (string & import("zod").BRAND<"example">) | null | undefined, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
1973
+ uid: string & import("zod").BRAND<"example">;
1974
+ name: string;
1975
+ type: "requestExample";
1774
1976
  body: {
1775
- activeBody: "binary" | "formData" | "raw";
1776
- binary?: Blob | undefined;
1977
+ activeBody: "formData" | "binary" | "raw";
1777
1978
  formData?: {
1778
1979
  value: {
1779
1980
  value: string;
@@ -1782,30 +1983,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1782
1983
  minimum?: number | undefined;
1783
1984
  type?: string | string[] | undefined;
1784
1985
  maximum?: number | undefined;
1986
+ description?: string | undefined;
1785
1987
  default?: any;
1786
1988
  required?: boolean | undefined;
1787
- description?: string | undefined;
1788
- enum?: string[] | undefined;
1789
1989
  examples?: string[] | undefined;
1790
1990
  format?: string | undefined;
1991
+ enum?: string[] | undefined;
1791
1992
  file?: any;
1792
1993
  nullable?: boolean | undefined;
1793
1994
  }[];
1794
1995
  encoding: "form-data" | "urlencoded";
1795
1996
  } | undefined;
1997
+ binary?: Blob | undefined;
1796
1998
  raw?: {
1797
1999
  value: string;
1798
2000
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
1799
2001
  mimeType?: string | undefined;
1800
2002
  } | undefined;
1801
2003
  };
1802
- requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
1803
- serverVariables?: Record<string, string[]> | undefined;
1804
- }) => void;
1805
- edit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: (string & import("zod").BRAND<"example">) | null | undefined, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
1806
- type: "requestExample";
1807
- uid: string & import("zod").BRAND<"example">;
1808
- name: string;
1809
2004
  parameters: {
1810
2005
  path: {
1811
2006
  value: string;
@@ -1814,67 +2009,72 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1814
2009
  minimum?: number | undefined;
1815
2010
  type?: string | string[] | undefined;
1816
2011
  maximum?: number | undefined;
2012
+ description?: string | undefined;
1817
2013
  default?: any;
1818
2014
  required?: boolean | undefined;
1819
- description?: string | undefined;
1820
- enum?: string[] | undefined;
1821
2015
  examples?: string[] | undefined;
1822
2016
  format?: string | undefined;
2017
+ enum?: string[] | undefined;
1823
2018
  file?: any;
1824
2019
  nullable?: boolean | undefined;
1825
2020
  }[];
1826
- cookies: {
2021
+ query: {
1827
2022
  value: string;
1828
2023
  key: string;
1829
2024
  enabled: boolean;
1830
2025
  minimum?: number | undefined;
1831
2026
  type?: string | string[] | undefined;
1832
2027
  maximum?: number | undefined;
2028
+ description?: string | undefined;
1833
2029
  default?: any;
1834
2030
  required?: boolean | undefined;
1835
- description?: string | undefined;
1836
- enum?: string[] | undefined;
1837
2031
  examples?: string[] | undefined;
1838
2032
  format?: string | undefined;
2033
+ enum?: string[] | undefined;
1839
2034
  file?: any;
1840
2035
  nullable?: boolean | undefined;
1841
2036
  }[];
1842
- query: {
2037
+ headers: {
1843
2038
  value: string;
1844
2039
  key: string;
1845
2040
  enabled: boolean;
1846
2041
  minimum?: number | undefined;
1847
2042
  type?: string | string[] | undefined;
1848
2043
  maximum?: number | undefined;
2044
+ description?: string | undefined;
1849
2045
  default?: any;
1850
2046
  required?: boolean | undefined;
1851
- description?: string | undefined;
1852
- enum?: string[] | undefined;
1853
2047
  examples?: string[] | undefined;
1854
2048
  format?: string | undefined;
2049
+ enum?: string[] | undefined;
1855
2050
  file?: any;
1856
2051
  nullable?: boolean | undefined;
1857
2052
  }[];
1858
- headers: {
2053
+ cookies: {
1859
2054
  value: string;
1860
2055
  key: string;
1861
2056
  enabled: boolean;
1862
2057
  minimum?: number | undefined;
1863
2058
  type?: string | string[] | undefined;
1864
2059
  maximum?: number | undefined;
2060
+ description?: string | undefined;
1865
2061
  default?: any;
1866
2062
  required?: boolean | undefined;
1867
- description?: string | undefined;
1868
- enum?: string[] | undefined;
1869
2063
  examples?: string[] | undefined;
1870
2064
  format?: string | undefined;
2065
+ enum?: string[] | undefined;
1871
2066
  file?: any;
1872
2067
  nullable?: boolean | undefined;
1873
2068
  }[];
1874
2069
  };
2070
+ requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
2071
+ serverVariables?: Record<string, string[]> | undefined;
2072
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
2073
+ uid: string & import("zod").BRAND<"example">;
2074
+ name: string;
2075
+ type: "requestExample";
1875
2076
  body: {
1876
- activeBody: "binary" | "formData" | "raw";
1877
- binary?: Blob | undefined;
2077
+ activeBody: "formData" | "binary" | "raw";
1878
2078
  formData?: {
1879
2079
  value: {
1880
2080
  value: string;
@@ -1883,29 +2083,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1883
2083
  minimum?: number | undefined;
1884
2084
  type?: string | string[] | undefined;
1885
2085
  maximum?: number | undefined;
2086
+ description?: string | undefined;
1886
2087
  default?: any;
1887
2088
  required?: boolean | undefined;
1888
- description?: string | undefined;
1889
- enum?: string[] | undefined;
1890
2089
  examples?: string[] | undefined;
1891
2090
  format?: string | undefined;
2091
+ enum?: string[] | undefined;
1892
2092
  file?: any;
1893
2093
  nullable?: boolean | undefined;
1894
2094
  }[];
1895
2095
  encoding: "form-data" | "urlencoded";
1896
2096
  } | undefined;
2097
+ binary?: Blob | undefined;
1897
2098
  raw?: {
1898
2099
  value: string;
1899
2100
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
1900
2101
  mimeType?: string | undefined;
1901
2102
  } | undefined;
1902
2103
  };
1903
- requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
1904
- serverVariables?: Record<string, string[]> | undefined;
1905
- }[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
1906
- type: "requestExample";
1907
- uid: string & import("zod").BRAND<"example">;
1908
- name: string;
1909
2104
  parameters: {
1910
2105
  path: {
1911
2106
  value: string;
@@ -1914,67 +2109,72 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1914
2109
  minimum?: number | undefined;
1915
2110
  type?: string | string[] | undefined;
1916
2111
  maximum?: number | undefined;
2112
+ description?: string | undefined;
1917
2113
  default?: any;
1918
2114
  required?: boolean | undefined;
1919
- description?: string | undefined;
1920
- enum?: string[] | undefined;
1921
2115
  examples?: string[] | undefined;
1922
2116
  format?: string | undefined;
2117
+ enum?: string[] | undefined;
1923
2118
  file?: any;
1924
2119
  nullable?: boolean | undefined;
1925
2120
  }[];
1926
- cookies: {
2121
+ query: {
1927
2122
  value: string;
1928
2123
  key: string;
1929
2124
  enabled: boolean;
1930
2125
  minimum?: number | undefined;
1931
2126
  type?: string | string[] | undefined;
1932
2127
  maximum?: number | undefined;
2128
+ description?: string | undefined;
1933
2129
  default?: any;
1934
2130
  required?: boolean | undefined;
1935
- description?: string | undefined;
1936
- enum?: string[] | undefined;
1937
2131
  examples?: string[] | undefined;
1938
2132
  format?: string | undefined;
2133
+ enum?: string[] | undefined;
1939
2134
  file?: any;
1940
2135
  nullable?: boolean | undefined;
1941
2136
  }[];
1942
- query: {
2137
+ headers: {
1943
2138
  value: string;
1944
2139
  key: string;
1945
2140
  enabled: boolean;
1946
2141
  minimum?: number | undefined;
1947
2142
  type?: string | string[] | undefined;
1948
2143
  maximum?: number | undefined;
2144
+ description?: string | undefined;
1949
2145
  default?: any;
1950
2146
  required?: boolean | undefined;
1951
- description?: string | undefined;
1952
- enum?: string[] | undefined;
1953
2147
  examples?: string[] | undefined;
1954
2148
  format?: string | undefined;
2149
+ enum?: string[] | undefined;
1955
2150
  file?: any;
1956
2151
  nullable?: boolean | undefined;
1957
2152
  }[];
1958
- headers: {
2153
+ cookies: {
1959
2154
  value: string;
1960
2155
  key: string;
1961
2156
  enabled: boolean;
1962
2157
  minimum?: number | undefined;
1963
2158
  type?: string | string[] | undefined;
1964
2159
  maximum?: number | undefined;
2160
+ description?: string | undefined;
1965
2161
  default?: any;
1966
2162
  required?: boolean | undefined;
1967
- description?: string | undefined;
1968
- enum?: string[] | undefined;
1969
2163
  examples?: string[] | undefined;
1970
2164
  format?: string | undefined;
2165
+ enum?: string[] | undefined;
1971
2166
  file?: any;
1972
2167
  nullable?: boolean | undefined;
1973
2168
  }[];
1974
2169
  };
2170
+ requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
2171
+ serverVariables?: Record<string, string[]> | undefined;
2172
+ }[K]> ? import("@scalar/object-utils/nested").PathValue<{
2173
+ uid: string & import("zod").BRAND<"example">;
2174
+ name: string;
2175
+ type: "requestExample";
1975
2176
  body: {
1976
- activeBody: "binary" | "formData" | "raw";
1977
- binary?: Blob | undefined;
2177
+ activeBody: "formData" | "binary" | "raw";
1978
2178
  formData?: {
1979
2179
  value: {
1980
2180
  value: string;
@@ -1983,29 +2183,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
1983
2183
  minimum?: number | undefined;
1984
2184
  type?: string | string[] | undefined;
1985
2185
  maximum?: number | undefined;
2186
+ description?: string | undefined;
1986
2187
  default?: any;
1987
2188
  required?: boolean | undefined;
1988
- description?: string | undefined;
1989
- enum?: string[] | undefined;
1990
2189
  examples?: string[] | undefined;
1991
2190
  format?: string | undefined;
2191
+ enum?: string[] | undefined;
1992
2192
  file?: any;
1993
2193
  nullable?: boolean | undefined;
1994
2194
  }[];
1995
2195
  encoding: "form-data" | "urlencoded";
1996
2196
  } | undefined;
2197
+ binary?: Blob | undefined;
1997
2198
  raw?: {
1998
2199
  value: string;
1999
2200
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
2000
2201
  mimeType?: string | undefined;
2001
2202
  } | undefined;
2002
2203
  };
2003
- requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
2004
- serverVariables?: Record<string, string[]> | undefined;
2005
- }[K]> ? import("@scalar/object-utils/nested").PathValue<{
2006
- type: "requestExample";
2007
- uid: string & import("zod").BRAND<"example">;
2008
- name: string;
2009
2204
  parameters: {
2010
2205
  path: {
2011
2206
  value: string;
@@ -2014,67 +2209,73 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2014
2209
  minimum?: number | undefined;
2015
2210
  type?: string | string[] | undefined;
2016
2211
  maximum?: number | undefined;
2212
+ description?: string | undefined;
2017
2213
  default?: any;
2018
2214
  required?: boolean | undefined;
2019
- description?: string | undefined;
2020
- enum?: string[] | undefined;
2021
2215
  examples?: string[] | undefined;
2022
2216
  format?: string | undefined;
2217
+ enum?: string[] | undefined;
2023
2218
  file?: any;
2024
2219
  nullable?: boolean | undefined;
2025
2220
  }[];
2026
- cookies: {
2221
+ query: {
2027
2222
  value: string;
2028
2223
  key: string;
2029
2224
  enabled: boolean;
2030
2225
  minimum?: number | undefined;
2031
2226
  type?: string | string[] | undefined;
2032
2227
  maximum?: number | undefined;
2228
+ description?: string | undefined;
2033
2229
  default?: any;
2034
2230
  required?: boolean | undefined;
2035
- description?: string | undefined;
2036
- enum?: string[] | undefined;
2037
2231
  examples?: string[] | undefined;
2038
2232
  format?: string | undefined;
2233
+ enum?: string[] | undefined;
2039
2234
  file?: any;
2040
2235
  nullable?: boolean | undefined;
2041
2236
  }[];
2042
- query: {
2237
+ headers: {
2043
2238
  value: string;
2044
2239
  key: string;
2045
2240
  enabled: boolean;
2046
2241
  minimum?: number | undefined;
2047
2242
  type?: string | string[] | undefined;
2048
2243
  maximum?: number | undefined;
2244
+ description?: string | undefined;
2049
2245
  default?: any;
2050
2246
  required?: boolean | undefined;
2051
- description?: string | undefined;
2052
- enum?: string[] | undefined;
2053
2247
  examples?: string[] | undefined;
2054
2248
  format?: string | undefined;
2249
+ enum?: string[] | undefined;
2055
2250
  file?: any;
2056
2251
  nullable?: boolean | undefined;
2057
2252
  }[];
2058
- headers: {
2253
+ cookies: {
2059
2254
  value: string;
2060
2255
  key: string;
2061
2256
  enabled: boolean;
2062
2257
  minimum?: number | undefined;
2063
2258
  type?: string | string[] | undefined;
2064
2259
  maximum?: number | undefined;
2260
+ description?: string | undefined;
2065
2261
  default?: any;
2066
2262
  required?: boolean | undefined;
2067
- description?: string | undefined;
2068
- enum?: string[] | undefined;
2069
2263
  examples?: string[] | undefined;
2070
2264
  format?: string | undefined;
2265
+ enum?: string[] | undefined;
2071
2266
  file?: any;
2072
2267
  nullable?: boolean | undefined;
2073
2268
  }[];
2074
2269
  };
2270
+ requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
2271
+ serverVariables?: Record<string, string[]> | undefined;
2272
+ }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
2273
+ untrackedEdit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.formData" | "body.binary" | "body.raw" | "body.activeBody" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: string & import("zod").BRAND<"example">, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
2274
+ uid: string & import("zod").BRAND<"example">;
2275
+ name: string;
2276
+ type: "requestExample";
2075
2277
  body: {
2076
- activeBody: "binary" | "formData" | "raw";
2077
- binary?: Blob | undefined;
2278
+ activeBody: "formData" | "binary" | "raw";
2078
2279
  formData?: {
2079
2280
  value: {
2080
2281
  value: string;
@@ -2083,30 +2284,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2083
2284
  minimum?: number | undefined;
2084
2285
  type?: string | string[] | undefined;
2085
2286
  maximum?: number | undefined;
2287
+ description?: string | undefined;
2086
2288
  default?: any;
2087
2289
  required?: boolean | undefined;
2088
- description?: string | undefined;
2089
- enum?: string[] | undefined;
2090
2290
  examples?: string[] | undefined;
2091
2291
  format?: string | undefined;
2292
+ enum?: string[] | undefined;
2092
2293
  file?: any;
2093
2294
  nullable?: boolean | undefined;
2094
2295
  }[];
2095
2296
  encoding: "form-data" | "urlencoded";
2096
2297
  } | undefined;
2298
+ binary?: Blob | undefined;
2097
2299
  raw?: {
2098
2300
  value: string;
2099
2301
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
2100
2302
  mimeType?: string | undefined;
2101
2303
  } | undefined;
2102
2304
  };
2103
- requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
2104
- serverVariables?: Record<string, string[]> | undefined;
2105
- }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
2106
- untrackedEdit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: string & import("zod").BRAND<"example">, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
2107
- type: "requestExample";
2108
- uid: string & import("zod").BRAND<"example">;
2109
- name: string;
2110
2305
  parameters: {
2111
2306
  path: {
2112
2307
  value: string;
@@ -2115,67 +2310,72 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2115
2310
  minimum?: number | undefined;
2116
2311
  type?: string | string[] | undefined;
2117
2312
  maximum?: number | undefined;
2313
+ description?: string | undefined;
2118
2314
  default?: any;
2119
2315
  required?: boolean | undefined;
2120
- description?: string | undefined;
2121
- enum?: string[] | undefined;
2122
2316
  examples?: string[] | undefined;
2123
2317
  format?: string | undefined;
2318
+ enum?: string[] | undefined;
2124
2319
  file?: any;
2125
2320
  nullable?: boolean | undefined;
2126
2321
  }[];
2127
- cookies: {
2322
+ query: {
2128
2323
  value: string;
2129
2324
  key: string;
2130
2325
  enabled: boolean;
2131
2326
  minimum?: number | undefined;
2132
2327
  type?: string | string[] | undefined;
2133
2328
  maximum?: number | undefined;
2329
+ description?: string | undefined;
2134
2330
  default?: any;
2135
2331
  required?: boolean | undefined;
2136
- description?: string | undefined;
2137
- enum?: string[] | undefined;
2138
2332
  examples?: string[] | undefined;
2139
2333
  format?: string | undefined;
2334
+ enum?: string[] | undefined;
2140
2335
  file?: any;
2141
2336
  nullable?: boolean | undefined;
2142
2337
  }[];
2143
- query: {
2338
+ headers: {
2144
2339
  value: string;
2145
2340
  key: string;
2146
2341
  enabled: boolean;
2147
2342
  minimum?: number | undefined;
2148
2343
  type?: string | string[] | undefined;
2149
2344
  maximum?: number | undefined;
2345
+ description?: string | undefined;
2150
2346
  default?: any;
2151
2347
  required?: boolean | undefined;
2152
- description?: string | undefined;
2153
- enum?: string[] | undefined;
2154
2348
  examples?: string[] | undefined;
2155
2349
  format?: string | undefined;
2350
+ enum?: string[] | undefined;
2156
2351
  file?: any;
2157
2352
  nullable?: boolean | undefined;
2158
2353
  }[];
2159
- headers: {
2354
+ cookies: {
2160
2355
  value: string;
2161
2356
  key: string;
2162
2357
  enabled: boolean;
2163
2358
  minimum?: number | undefined;
2164
2359
  type?: string | string[] | undefined;
2165
2360
  maximum?: number | undefined;
2361
+ description?: string | undefined;
2166
2362
  default?: any;
2167
2363
  required?: boolean | undefined;
2168
- description?: string | undefined;
2169
- enum?: string[] | undefined;
2170
2364
  examples?: string[] | undefined;
2171
2365
  format?: string | undefined;
2366
+ enum?: string[] | undefined;
2172
2367
  file?: any;
2173
2368
  nullable?: boolean | undefined;
2174
2369
  }[];
2175
2370
  };
2371
+ requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
2372
+ serverVariables?: Record<string, string[]> | undefined;
2373
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
2374
+ uid: string & import("zod").BRAND<"example">;
2375
+ name: string;
2376
+ type: "requestExample";
2176
2377
  body: {
2177
- activeBody: "binary" | "formData" | "raw";
2178
- binary?: Blob | undefined;
2378
+ activeBody: "formData" | "binary" | "raw";
2179
2379
  formData?: {
2180
2380
  value: {
2181
2381
  value: string;
@@ -2184,29 +2384,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2184
2384
  minimum?: number | undefined;
2185
2385
  type?: string | string[] | undefined;
2186
2386
  maximum?: number | undefined;
2387
+ description?: string | undefined;
2187
2388
  default?: any;
2188
2389
  required?: boolean | undefined;
2189
- description?: string | undefined;
2190
- enum?: string[] | undefined;
2191
2390
  examples?: string[] | undefined;
2192
2391
  format?: string | undefined;
2392
+ enum?: string[] | undefined;
2193
2393
  file?: any;
2194
2394
  nullable?: boolean | undefined;
2195
2395
  }[];
2196
2396
  encoding: "form-data" | "urlencoded";
2197
2397
  } | undefined;
2398
+ binary?: Blob | undefined;
2198
2399
  raw?: {
2199
2400
  value: string;
2200
2401
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
2201
2402
  mimeType?: string | undefined;
2202
2403
  } | undefined;
2203
2404
  };
2204
- requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
2205
- serverVariables?: Record<string, string[]> | undefined;
2206
- }[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
2207
- type: "requestExample";
2208
- uid: string & import("zod").BRAND<"example">;
2209
- name: string;
2210
2405
  parameters: {
2211
2406
  path: {
2212
2407
  value: string;
@@ -2215,67 +2410,72 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2215
2410
  minimum?: number | undefined;
2216
2411
  type?: string | string[] | undefined;
2217
2412
  maximum?: number | undefined;
2413
+ description?: string | undefined;
2218
2414
  default?: any;
2219
2415
  required?: boolean | undefined;
2220
- description?: string | undefined;
2221
- enum?: string[] | undefined;
2222
2416
  examples?: string[] | undefined;
2223
2417
  format?: string | undefined;
2418
+ enum?: string[] | undefined;
2224
2419
  file?: any;
2225
2420
  nullable?: boolean | undefined;
2226
2421
  }[];
2227
- cookies: {
2422
+ query: {
2228
2423
  value: string;
2229
2424
  key: string;
2230
2425
  enabled: boolean;
2231
2426
  minimum?: number | undefined;
2232
2427
  type?: string | string[] | undefined;
2233
2428
  maximum?: number | undefined;
2429
+ description?: string | undefined;
2234
2430
  default?: any;
2235
2431
  required?: boolean | undefined;
2236
- description?: string | undefined;
2237
- enum?: string[] | undefined;
2238
2432
  examples?: string[] | undefined;
2239
2433
  format?: string | undefined;
2434
+ enum?: string[] | undefined;
2240
2435
  file?: any;
2241
2436
  nullable?: boolean | undefined;
2242
2437
  }[];
2243
- query: {
2438
+ headers: {
2244
2439
  value: string;
2245
2440
  key: string;
2246
2441
  enabled: boolean;
2247
2442
  minimum?: number | undefined;
2248
2443
  type?: string | string[] | undefined;
2249
2444
  maximum?: number | undefined;
2445
+ description?: string | undefined;
2250
2446
  default?: any;
2251
2447
  required?: boolean | undefined;
2252
- description?: string | undefined;
2253
- enum?: string[] | undefined;
2254
2448
  examples?: string[] | undefined;
2255
2449
  format?: string | undefined;
2450
+ enum?: string[] | undefined;
2256
2451
  file?: any;
2257
2452
  nullable?: boolean | undefined;
2258
2453
  }[];
2259
- headers: {
2454
+ cookies: {
2260
2455
  value: string;
2261
2456
  key: string;
2262
2457
  enabled: boolean;
2263
2458
  minimum?: number | undefined;
2264
2459
  type?: string | string[] | undefined;
2265
2460
  maximum?: number | undefined;
2461
+ description?: string | undefined;
2266
2462
  default?: any;
2267
2463
  required?: boolean | undefined;
2268
- description?: string | undefined;
2269
- enum?: string[] | undefined;
2270
2464
  examples?: string[] | undefined;
2271
2465
  format?: string | undefined;
2466
+ enum?: string[] | undefined;
2272
2467
  file?: any;
2273
2468
  nullable?: boolean | undefined;
2274
2469
  }[];
2275
2470
  };
2471
+ requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
2472
+ serverVariables?: Record<string, string[]> | undefined;
2473
+ }[K]> ? import("@scalar/object-utils/nested").PathValue<{
2474
+ uid: string & import("zod").BRAND<"example">;
2475
+ name: string;
2476
+ type: "requestExample";
2276
2477
  body: {
2277
- activeBody: "binary" | "formData" | "raw";
2278
- binary?: Blob | undefined;
2478
+ activeBody: "formData" | "binary" | "raw";
2279
2479
  formData?: {
2280
2480
  value: {
2281
2481
  value: string;
@@ -2284,29 +2484,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2284
2484
  minimum?: number | undefined;
2285
2485
  type?: string | string[] | undefined;
2286
2486
  maximum?: number | undefined;
2487
+ description?: string | undefined;
2287
2488
  default?: any;
2288
2489
  required?: boolean | undefined;
2289
- description?: string | undefined;
2290
- enum?: string[] | undefined;
2291
2490
  examples?: string[] | undefined;
2292
2491
  format?: string | undefined;
2492
+ enum?: string[] | undefined;
2293
2493
  file?: any;
2294
2494
  nullable?: boolean | undefined;
2295
2495
  }[];
2296
2496
  encoding: "form-data" | "urlencoded";
2297
2497
  } | undefined;
2498
+ binary?: Blob | undefined;
2298
2499
  raw?: {
2299
2500
  value: string;
2300
2501
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
2301
2502
  mimeType?: string | undefined;
2302
2503
  } | undefined;
2303
2504
  };
2304
- requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
2305
- serverVariables?: Record<string, string[]> | undefined;
2306
- }[K]> ? import("@scalar/object-utils/nested").PathValue<{
2307
- type: "requestExample";
2308
- uid: string & import("zod").BRAND<"example">;
2309
- name: string;
2310
2505
  parameters: {
2311
2506
  path: {
2312
2507
  value: string;
@@ -2315,92 +2510,64 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2315
2510
  minimum?: number | undefined;
2316
2511
  type?: string | string[] | undefined;
2317
2512
  maximum?: number | undefined;
2513
+ description?: string | undefined;
2318
2514
  default?: any;
2319
2515
  required?: boolean | undefined;
2320
- description?: string | undefined;
2321
- enum?: string[] | undefined;
2322
2516
  examples?: string[] | undefined;
2323
2517
  format?: string | undefined;
2518
+ enum?: string[] | undefined;
2324
2519
  file?: any;
2325
2520
  nullable?: boolean | undefined;
2326
2521
  }[];
2327
- cookies: {
2522
+ query: {
2328
2523
  value: string;
2329
2524
  key: string;
2330
2525
  enabled: boolean;
2331
2526
  minimum?: number | undefined;
2332
2527
  type?: string | string[] | undefined;
2333
2528
  maximum?: number | undefined;
2529
+ description?: string | undefined;
2334
2530
  default?: any;
2335
2531
  required?: boolean | undefined;
2336
- description?: string | undefined;
2337
- enum?: string[] | undefined;
2338
2532
  examples?: string[] | undefined;
2339
2533
  format?: string | undefined;
2534
+ enum?: string[] | undefined;
2340
2535
  file?: any;
2341
2536
  nullable?: boolean | undefined;
2342
2537
  }[];
2343
- query: {
2538
+ headers: {
2344
2539
  value: string;
2345
2540
  key: string;
2346
2541
  enabled: boolean;
2347
2542
  minimum?: number | undefined;
2348
2543
  type?: string | string[] | undefined;
2349
2544
  maximum?: number | undefined;
2545
+ description?: string | undefined;
2350
2546
  default?: any;
2351
2547
  required?: boolean | undefined;
2352
- description?: string | undefined;
2353
- enum?: string[] | undefined;
2354
2548
  examples?: string[] | undefined;
2355
2549
  format?: string | undefined;
2550
+ enum?: string[] | undefined;
2356
2551
  file?: any;
2357
2552
  nullable?: boolean | undefined;
2358
2553
  }[];
2359
- headers: {
2554
+ cookies: {
2360
2555
  value: string;
2361
2556
  key: string;
2362
2557
  enabled: boolean;
2363
2558
  minimum?: number | undefined;
2364
2559
  type?: string | string[] | undefined;
2365
2560
  maximum?: number | undefined;
2561
+ description?: string | undefined;
2366
2562
  default?: any;
2367
2563
  required?: boolean | undefined;
2368
- description?: string | undefined;
2369
- enum?: string[] | undefined;
2370
2564
  examples?: string[] | undefined;
2371
2565
  format?: string | undefined;
2566
+ enum?: string[] | undefined;
2372
2567
  file?: any;
2373
2568
  nullable?: boolean | undefined;
2374
2569
  }[];
2375
2570
  };
2376
- body: {
2377
- activeBody: "binary" | "formData" | "raw";
2378
- binary?: Blob | undefined;
2379
- formData?: {
2380
- value: {
2381
- value: string;
2382
- key: string;
2383
- enabled: boolean;
2384
- minimum?: number | undefined;
2385
- type?: string | string[] | undefined;
2386
- maximum?: number | undefined;
2387
- default?: any;
2388
- required?: boolean | undefined;
2389
- description?: string | undefined;
2390
- enum?: string[] | undefined;
2391
- examples?: string[] | undefined;
2392
- format?: string | undefined;
2393
- file?: any;
2394
- nullable?: boolean | undefined;
2395
- }[];
2396
- encoding: "form-data" | "urlencoded";
2397
- } | undefined;
2398
- raw?: {
2399
- value: string;
2400
- encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
2401
- mimeType?: string | undefined;
2402
- } | undefined;
2403
- };
2404
2571
  requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
2405
2572
  serverVariables?: Record<string, string[]> | undefined;
2406
2573
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
@@ -2414,8 +2581,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2414
2581
  type: "apiKey";
2415
2582
  value: string;
2416
2583
  uid: string & import("zod").BRAND<"securityScheme">;
2417
- name: string;
2418
2584
  nameKey: string;
2585
+ name: string;
2419
2586
  in: "cookie" | "query" | "header";
2420
2587
  description?: string | undefined;
2421
2588
  } | {
@@ -2487,12 +2654,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2487
2654
  };
2488
2655
  description?: string | undefined;
2489
2656
  }) => void;
2490
- add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
2657
+ add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
2491
2658
  type: "apiKey";
2492
2659
  value: string;
2493
2660
  uid: string & import("zod").BRAND<"securityScheme">;
2494
- name: string;
2495
2661
  nameKey: string;
2662
+ name: string;
2496
2663
  in: "cookie" | "query" | "header";
2497
2664
  description?: string | undefined;
2498
2665
  } | {
@@ -2564,13 +2731,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2564
2731
  };
2565
2732
  description?: string | undefined;
2566
2733
  };
2567
- delete: (schemeUid: import("@scalar/oas-utils/entities/spec").SecurityScheme["uid"]) => void;
2734
+ delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
2568
2735
  set: (item: {
2569
2736
  type: "apiKey";
2570
2737
  value: string;
2571
2738
  uid: string & import("zod").BRAND<"securityScheme">;
2572
- name: string;
2573
2739
  nameKey: string;
2740
+ name: string;
2574
2741
  in: "cookie" | "query" | "header";
2575
2742
  description?: string | undefined;
2576
2743
  } | {
@@ -2646,24 +2813,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2646
2813
  type: "apiKey";
2647
2814
  value: string;
2648
2815
  uid: string & import("zod").BRAND<"securityScheme">;
2649
- name: string;
2650
2816
  nameKey: string;
2817
+ name: string;
2651
2818
  in: "cookie" | "query" | "header";
2652
2819
  description?: string | undefined;
2653
2820
  }[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
2654
2821
  type: "apiKey";
2655
2822
  value: string;
2656
2823
  uid: string & import("zod").BRAND<"securityScheme">;
2657
- name: string;
2658
2824
  nameKey: string;
2825
+ name: string;
2659
2826
  in: "cookie" | "query" | "header";
2660
2827
  description?: string | undefined;
2661
2828
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
2662
2829
  type: "apiKey";
2663
2830
  value: string;
2664
2831
  uid: string & import("zod").BRAND<"securityScheme">;
2665
- name: string;
2666
2832
  nameKey: string;
2833
+ name: string;
2667
2834
  in: "cookie" | "query" | "header";
2668
2835
  description?: string | undefined;
2669
2836
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "username" | "token" ? {
@@ -2875,24 +3042,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
2875
3042
  type: "apiKey";
2876
3043
  value: string;
2877
3044
  uid: string & import("zod").BRAND<"securityScheme">;
2878
- name: string;
2879
3045
  nameKey: string;
3046
+ name: string;
2880
3047
  in: "cookie" | "query" | "header";
2881
3048
  description?: string | undefined;
2882
3049
  }[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
2883
3050
  type: "apiKey";
2884
3051
  value: string;
2885
3052
  uid: string & import("zod").BRAND<"securityScheme">;
2886
- name: string;
2887
3053
  nameKey: string;
3054
+ name: string;
2888
3055
  in: "cookie" | "query" | "header";
2889
3056
  description?: string | undefined;
2890
3057
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
2891
3058
  type: "apiKey";
2892
3059
  value: string;
2893
3060
  uid: string & import("zod").BRAND<"securityScheme">;
2894
- name: string;
2895
3061
  nameKey: string;
3062
+ name: string;
2896
3063
  in: "cookie" | "query" | "header";
2897
3064
  description?: string | undefined;
2898
3065
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "username" | "token" ? {
@@ -3109,18 +3276,22 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3109
3276
  uid: string & import("zod").BRAND<"server">;
3110
3277
  url: string;
3111
3278
  description?: string | undefined;
3112
- variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
3113
- enum?: [string, ...string[]];
3114
- value?: string;
3279
+ variables?: Record<string, {
3280
+ value?: string | undefined;
3281
+ description?: string | undefined;
3282
+ default?: string | undefined;
3283
+ enum?: string[] | undefined;
3115
3284
  }> | undefined;
3116
3285
  }) => void;
3117
3286
  add: (payload: import("@scalar/oas-utils/entities/spec").ServerPayload, parentUid: string) => {
3118
3287
  uid: string & import("zod").BRAND<"server">;
3119
3288
  url: string;
3120
3289
  description?: string | undefined;
3121
- variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
3122
- enum?: [string, ...string[]];
3123
- value?: string;
3290
+ variables?: Record<string, {
3291
+ value?: string | undefined;
3292
+ description?: string | undefined;
3293
+ default?: string | undefined;
3294
+ enum?: string[] | undefined;
3124
3295
  }> | undefined;
3125
3296
  };
3126
3297
  delete: (serverUid: import("@scalar/oas-utils/entities/spec").Server["uid"], collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
@@ -3128,59 +3299,73 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3128
3299
  uid: string & import("zod").BRAND<"server">;
3129
3300
  url: string;
3130
3301
  description?: string | undefined;
3131
- variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
3132
- enum?: [string, ...string[]];
3133
- value?: string;
3302
+ variables?: Record<string, {
3303
+ value?: string | undefined;
3304
+ description?: string | undefined;
3305
+ default?: string | undefined;
3306
+ enum?: string[] | undefined;
3134
3307
  }> | undefined;
3135
3308
  }) => void;
3136
3309
  edit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: (string & import("zod").BRAND<"server">) | null | undefined, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
3137
3310
  uid: string & import("zod").BRAND<"server">;
3138
3311
  url: string;
3139
3312
  description?: string | undefined;
3140
- variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
3141
- enum?: [string, ...string[]];
3142
- value?: string;
3313
+ variables?: Record<string, {
3314
+ value?: string | undefined;
3315
+ description?: string | undefined;
3316
+ default?: string | undefined;
3317
+ enum?: string[] | undefined;
3143
3318
  }> | undefined;
3144
3319
  }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
3145
3320
  uid: string & import("zod").BRAND<"server">;
3146
3321
  url: string;
3147
3322
  description?: string | undefined;
3148
- variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
3149
- enum?: [string, ...string[]];
3150
- value?: string;
3323
+ variables?: Record<string, {
3324
+ value?: string | undefined;
3325
+ description?: string | undefined;
3326
+ default?: string | undefined;
3327
+ enum?: string[] | undefined;
3151
3328
  }> | undefined;
3152
3329
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
3153
3330
  uid: string & import("zod").BRAND<"server">;
3154
3331
  url: string;
3155
3332
  description?: string | undefined;
3156
- variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
3157
- enum?: [string, ...string[]];
3158
- value?: string;
3333
+ variables?: Record<string, {
3334
+ value?: string | undefined;
3335
+ description?: string | undefined;
3336
+ default?: string | undefined;
3337
+ enum?: string[] | undefined;
3159
3338
  }> | undefined;
3160
3339
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
3161
3340
  untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string & import("zod").BRAND<"server">, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
3162
3341
  uid: string & import("zod").BRAND<"server">;
3163
3342
  url: string;
3164
3343
  description?: string | undefined;
3165
- variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
3166
- enum?: [string, ...string[]];
3167
- value?: string;
3344
+ variables?: Record<string, {
3345
+ value?: string | undefined;
3346
+ description?: string | undefined;
3347
+ default?: string | undefined;
3348
+ enum?: string[] | undefined;
3168
3349
  }> | undefined;
3169
3350
  }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
3170
3351
  uid: string & import("zod").BRAND<"server">;
3171
3352
  url: string;
3172
3353
  description?: string | undefined;
3173
- variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
3174
- enum?: [string, ...string[]];
3175
- value?: string;
3354
+ variables?: Record<string, {
3355
+ value?: string | undefined;
3356
+ description?: string | undefined;
3357
+ default?: string | undefined;
3358
+ enum?: string[] | undefined;
3176
3359
  }> | undefined;
3177
3360
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
3178
3361
  uid: string & import("zod").BRAND<"server">;
3179
3362
  url: string;
3180
3363
  description?: string | undefined;
3181
- variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
3182
- enum?: [string, ...string[]];
3183
- value?: string;
3364
+ variables?: Record<string, {
3365
+ value?: string | undefined;
3366
+ description?: string | undefined;
3367
+ default?: string | undefined;
3368
+ enum?: string[] | undefined;
3184
3369
  }> | undefined;
3185
3370
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
3186
3371
  undo: (uid: string & import("zod").BRAND<"server">) => void;
@@ -3189,9 +3374,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3189
3374
  };
3190
3375
  tagMutators: {
3191
3376
  rawAdd: (item: {
3192
- type: "tag";
3193
3377
  uid: string & import("zod").BRAND<"tag">;
3194
3378
  name: string;
3379
+ type: "tag";
3195
3380
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
3196
3381
  description?: string | undefined;
3197
3382
  externalDocs?: {
@@ -3205,9 +3390,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3205
3390
  'x-scalar-ignore'?: boolean | undefined;
3206
3391
  }) => void;
3207
3392
  add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
3208
- type: "tag";
3209
3393
  uid: string & import("zod").BRAND<"tag">;
3210
3394
  name: string;
3395
+ type: "tag";
3211
3396
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
3212
3397
  description?: string | undefined;
3213
3398
  externalDocs?: {
@@ -3222,9 +3407,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3222
3407
  };
3223
3408
  delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
3224
3409
  set: (item: {
3225
- type: "tag";
3226
3410
  uid: string & import("zod").BRAND<"tag">;
3227
3411
  name: string;
3412
+ type: "tag";
3228
3413
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
3229
3414
  description?: string | undefined;
3230
3415
  externalDocs?: {
@@ -3238,9 +3423,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3238
3423
  'x-scalar-ignore'?: boolean | undefined;
3239
3424
  }) => void;
3240
3425
  edit: <P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: (string & import("zod").BRAND<"tag">) | null | undefined, path: P, value: P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
3241
- type: "tag";
3242
3426
  uid: string & import("zod").BRAND<"tag">;
3243
3427
  name: string;
3428
+ type: "tag";
3244
3429
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
3245
3430
  description?: string | undefined;
3246
3431
  externalDocs?: {
@@ -3253,9 +3438,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3253
3438
  'x-internal'?: boolean | undefined;
3254
3439
  'x-scalar-ignore'?: boolean | undefined;
3255
3440
  }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends import("@scalar/object-utils/nested").Path<{
3256
- type: "tag";
3257
3441
  uid: string & import("zod").BRAND<"tag">;
3258
3442
  name: string;
3443
+ type: "tag";
3259
3444
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
3260
3445
  description?: string | undefined;
3261
3446
  externalDocs?: {
@@ -3268,9 +3453,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3268
3453
  'x-internal'?: boolean | undefined;
3269
3454
  'x-scalar-ignore'?: boolean | undefined;
3270
3455
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
3271
- type: "tag";
3272
3456
  uid: string & import("zod").BRAND<"tag">;
3273
3457
  name: string;
3458
+ type: "tag";
3274
3459
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
3275
3460
  description?: string | undefined;
3276
3461
  externalDocs?: {
@@ -3284,9 +3469,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3284
3469
  'x-scalar-ignore'?: boolean | undefined;
3285
3470
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
3286
3471
  untrackedEdit: <P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: string & import("zod").BRAND<"tag">, path: P, value: P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
3287
- type: "tag";
3288
3472
  uid: string & import("zod").BRAND<"tag">;
3289
3473
  name: string;
3474
+ type: "tag";
3290
3475
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
3291
3476
  description?: string | undefined;
3292
3477
  externalDocs?: {
@@ -3299,9 +3484,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3299
3484
  'x-internal'?: boolean | undefined;
3300
3485
  'x-scalar-ignore'?: boolean | undefined;
3301
3486
  }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends import("@scalar/object-utils/nested").Path<{
3302
- type: "tag";
3303
3487
  uid: string & import("zod").BRAND<"tag">;
3304
3488
  name: string;
3489
+ type: "tag";
3305
3490
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
3306
3491
  description?: string | undefined;
3307
3492
  externalDocs?: {
@@ -3314,9 +3499,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3314
3499
  'x-internal'?: boolean | undefined;
3315
3500
  'x-scalar-ignore'?: boolean | undefined;
3316
3501
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
3317
- type: "tag";
3318
3502
  uid: string & import("zod").BRAND<"tag">;
3319
3503
  name: string;
3504
+ type: "tag";
3320
3505
  children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
3321
3506
  description?: string | undefined;
3322
3507
  externalDocs?: {
@@ -3338,108 +3523,108 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3338
3523
  uid: string & import("zod").BRAND<"workspace">;
3339
3524
  name: string;
3340
3525
  description: string;
3526
+ cookies: (string & import("zod").BRAND<"cookie">)[];
3341
3527
  collections: (string & import("zod").BRAND<"collection">)[];
3342
3528
  environments: Record<string, string>;
3343
3529
  activeEnvironmentId: string;
3344
- cookies: (string & import("zod").BRAND<"cookie">)[];
3345
3530
  themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
3346
3531
  selectedHttpClient: {
3347
3532
  targetKey: string;
3348
3533
  clientKey: string;
3349
3534
  };
3350
3535
  hotKeyConfig?: {
3351
- modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
3352
- hotKeys?: Partial<Record<"" | "/" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3536
+ modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
3537
+ hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3353
3538
  event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
3354
- modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
3539
+ modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
3355
3540
  }>> | undefined;
3356
3541
  } | undefined;
3357
3542
  proxyUrl?: string | undefined;
3358
3543
  }) => void;
3359
- add: (payload?: Partial<import("@scalar/oas-utils/entities").Workspace>) => {
3544
+ add: (payload?: Partial<import("@scalar/oas-utils/entities/workspace").Workspace>) => {
3360
3545
  uid: string & import("zod").BRAND<"workspace">;
3361
3546
  name: string;
3362
3547
  description: string;
3548
+ cookies: (string & import("zod").BRAND<"cookie">)[];
3363
3549
  collections: (string & import("zod").BRAND<"collection">)[];
3364
3550
  environments: Record<string, string>;
3365
3551
  activeEnvironmentId: string;
3366
- cookies: (string & import("zod").BRAND<"cookie">)[];
3367
3552
  themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
3368
3553
  selectedHttpClient: {
3369
3554
  targetKey: string;
3370
3555
  clientKey: string;
3371
3556
  };
3372
3557
  hotKeyConfig?: {
3373
- modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
3374
- hotKeys?: Partial<Record<"" | "/" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3558
+ modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
3559
+ hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3375
3560
  event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
3376
- modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
3561
+ modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
3377
3562
  }>> | undefined;
3378
3563
  } | undefined;
3379
3564
  proxyUrl?: string | undefined;
3380
3565
  };
3381
- delete: (uid: import("@scalar/oas-utils/entities").Workspace["uid"]) => void;
3566
+ delete: (uid: import("@scalar/oas-utils/entities/workspace").Workspace["uid"]) => void;
3382
3567
  set: (item: {
3383
3568
  uid: string & import("zod").BRAND<"workspace">;
3384
3569
  name: string;
3385
3570
  description: string;
3571
+ cookies: (string & import("zod").BRAND<"cookie">)[];
3386
3572
  collections: (string & import("zod").BRAND<"collection">)[];
3387
3573
  environments: Record<string, string>;
3388
3574
  activeEnvironmentId: string;
3389
- cookies: (string & import("zod").BRAND<"cookie">)[];
3390
3575
  themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
3391
3576
  selectedHttpClient: {
3392
3577
  targetKey: string;
3393
3578
  clientKey: string;
3394
3579
  };
3395
3580
  hotKeyConfig?: {
3396
- modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
3397
- hotKeys?: Partial<Record<"" | "/" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3581
+ modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
3582
+ hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3398
3583
  event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
3399
- modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
3584
+ modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
3400
3585
  }>> | undefined;
3401
3586
  } | undefined;
3402
3587
  proxyUrl?: string | undefined;
3403
3588
  }) => void;
3404
- edit: <P extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `environments.${string}` | `cookies.${number}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: (string & import("zod").BRAND<"workspace">) | null | undefined, path: P, value: P extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
3589
+ edit: <P extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `cookies.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: (string & import("zod").BRAND<"workspace">) | null | undefined, path: P, value: P extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
3405
3590
  uid: string & import("zod").BRAND<"workspace">;
3406
3591
  name: string;
3407
3592
  description: string;
3593
+ cookies: (string & import("zod").BRAND<"cookie">)[];
3408
3594
  collections: (string & import("zod").BRAND<"collection">)[];
3409
3595
  environments: Record<string, string>;
3410
3596
  activeEnvironmentId: string;
3411
- cookies: (string & import("zod").BRAND<"cookie">)[];
3412
3597
  themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
3413
3598
  selectedHttpClient: {
3414
3599
  targetKey: string;
3415
3600
  clientKey: string;
3416
3601
  };
3417
3602
  hotKeyConfig?: {
3418
- modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
3419
- hotKeys?: Partial<Record<"" | "/" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3603
+ modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
3604
+ hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3420
3605
  event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
3421
- modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
3606
+ modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
3422
3607
  }>> | undefined;
3423
3608
  } | undefined;
3424
3609
  proxyUrl?: string | undefined;
3425
- }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends import("@scalar/object-utils/nested").Path<{
3610
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends import("@scalar/object-utils/nested").Path<{
3426
3611
  uid: string & import("zod").BRAND<"workspace">;
3427
3612
  name: string;
3428
3613
  description: string;
3614
+ cookies: (string & import("zod").BRAND<"cookie">)[];
3429
3615
  collections: (string & import("zod").BRAND<"collection">)[];
3430
3616
  environments: Record<string, string>;
3431
3617
  activeEnvironmentId: string;
3432
- cookies: (string & import("zod").BRAND<"cookie">)[];
3433
3618
  themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
3434
3619
  selectedHttpClient: {
3435
3620
  targetKey: string;
3436
3621
  clientKey: string;
3437
3622
  };
3438
3623
  hotKeyConfig?: {
3439
- modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
3440
- hotKeys?: Partial<Record<"" | "/" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3624
+ modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
3625
+ hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3441
3626
  event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
3442
- modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
3627
+ modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
3443
3628
  }>> | undefined;
3444
3629
  } | undefined;
3445
3630
  proxyUrl?: string | undefined;
@@ -3447,63 +3632,63 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3447
3632
  uid: string & import("zod").BRAND<"workspace">;
3448
3633
  name: string;
3449
3634
  description: string;
3635
+ cookies: (string & import("zod").BRAND<"cookie">)[];
3450
3636
  collections: (string & import("zod").BRAND<"collection">)[];
3451
3637
  environments: Record<string, string>;
3452
3638
  activeEnvironmentId: string;
3453
- cookies: (string & import("zod").BRAND<"cookie">)[];
3454
3639
  themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
3455
3640
  selectedHttpClient: {
3456
3641
  targetKey: string;
3457
3642
  clientKey: string;
3458
3643
  };
3459
3644
  hotKeyConfig?: {
3460
- modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
3461
- hotKeys?: Partial<Record<"" | "/" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3645
+ modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
3646
+ hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3462
3647
  event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
3463
- modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
3648
+ modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
3464
3649
  }>> | undefined;
3465
3650
  } | undefined;
3466
3651
  proxyUrl?: string | undefined;
3467
3652
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
3468
- untrackedEdit: <P extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `environments.${string}` | `cookies.${number}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: string & import("zod").BRAND<"workspace">, path: P, value: P extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
3653
+ untrackedEdit: <P extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `cookies.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: string & import("zod").BRAND<"workspace">, path: P, value: P extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
3469
3654
  uid: string & import("zod").BRAND<"workspace">;
3470
3655
  name: string;
3471
3656
  description: string;
3657
+ cookies: (string & import("zod").BRAND<"cookie">)[];
3472
3658
  collections: (string & import("zod").BRAND<"collection">)[];
3473
3659
  environments: Record<string, string>;
3474
3660
  activeEnvironmentId: string;
3475
- cookies: (string & import("zod").BRAND<"cookie">)[];
3476
3661
  themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
3477
3662
  selectedHttpClient: {
3478
3663
  targetKey: string;
3479
3664
  clientKey: string;
3480
3665
  };
3481
3666
  hotKeyConfig?: {
3482
- modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
3483
- hotKeys?: Partial<Record<"" | "/" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3667
+ modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
3668
+ hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3484
3669
  event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
3485
- modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
3670
+ modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
3486
3671
  }>> | undefined;
3487
3672
  } | undefined;
3488
3673
  proxyUrl?: string | undefined;
3489
- }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends import("@scalar/object-utils/nested").Path<{
3674
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends import("@scalar/object-utils/nested").Path<{
3490
3675
  uid: string & import("zod").BRAND<"workspace">;
3491
3676
  name: string;
3492
3677
  description: string;
3678
+ cookies: (string & import("zod").BRAND<"cookie">)[];
3493
3679
  collections: (string & import("zod").BRAND<"collection">)[];
3494
3680
  environments: Record<string, string>;
3495
3681
  activeEnvironmentId: string;
3496
- cookies: (string & import("zod").BRAND<"cookie">)[];
3497
3682
  themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
3498
3683
  selectedHttpClient: {
3499
3684
  targetKey: string;
3500
3685
  clientKey: string;
3501
3686
  };
3502
3687
  hotKeyConfig?: {
3503
- modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
3504
- hotKeys?: Partial<Record<"" | "/" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3688
+ modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
3689
+ hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3505
3690
  event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
3506
- modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
3691
+ modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
3507
3692
  }>> | undefined;
3508
3693
  } | undefined;
3509
3694
  proxyUrl?: string | undefined;
@@ -3511,20 +3696,20 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
3511
3696
  uid: string & import("zod").BRAND<"workspace">;
3512
3697
  name: string;
3513
3698
  description: string;
3699
+ cookies: (string & import("zod").BRAND<"cookie">)[];
3514
3700
  collections: (string & import("zod").BRAND<"collection">)[];
3515
3701
  environments: Record<string, string>;
3516
3702
  activeEnvironmentId: string;
3517
- cookies: (string & import("zod").BRAND<"cookie">)[];
3518
3703
  themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
3519
3704
  selectedHttpClient: {
3520
3705
  targetKey: string;
3521
3706
  clientKey: string;
3522
3707
  };
3523
3708
  hotKeyConfig?: {
3524
- modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
3525
- hotKeys?: Partial<Record<"" | "/" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3709
+ modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
3710
+ hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
3526
3711
  event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
3527
- modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
3712
+ modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
3528
3713
  }>> | undefined;
3529
3714
  } | undefined;
3530
3715
  proxyUrl?: string | undefined;