@scalar/workspace-store 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +86 -1
  3. package/dist/client.d.ts +46 -45152
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.js +173 -14
  6. package/dist/client.js.map +2 -2
  7. package/dist/helpers/apply-selective-updates.d.ts +17 -0
  8. package/dist/helpers/apply-selective-updates.d.ts.map +1 -0
  9. package/dist/helpers/apply-selective-updates.js +13 -0
  10. package/dist/helpers/apply-selective-updates.js.map +7 -0
  11. package/dist/helpers/general.d.ts +58 -0
  12. package/dist/helpers/general.d.ts.map +1 -1
  13. package/dist/helpers/general.js +18 -1
  14. package/dist/helpers/general.js.map +2 -2
  15. package/dist/helpers/proxy.d.ts +1 -1
  16. package/dist/helpers/proxy.d.ts.map +1 -1
  17. package/dist/helpers/proxy.js.map +2 -2
  18. package/dist/mutators/cookie.d.ts +17 -0
  19. package/dist/mutators/cookie.d.ts.map +1 -0
  20. package/dist/mutators/cookie.js +31 -0
  21. package/dist/mutators/cookie.js.map +7 -0
  22. package/dist/mutators/environment.d.ts +17 -0
  23. package/dist/mutators/environment.d.ts.map +1 -0
  24. package/dist/mutators/environment.js +31 -0
  25. package/dist/mutators/environment.js.map +7 -0
  26. package/dist/mutators/helpers.d.ts +34580 -0
  27. package/dist/mutators/helpers.d.ts.map +1 -0
  28. package/dist/mutators/helpers.js +11 -0
  29. package/dist/mutators/helpers.js.map +7 -0
  30. package/dist/mutators/index.d.ts +108 -0
  31. package/dist/mutators/index.d.ts.map +1 -0
  32. package/dist/mutators/index.js +67 -0
  33. package/dist/mutators/index.js.map +7 -0
  34. package/dist/mutators/request-example.d.ts +21 -0
  35. package/dist/mutators/request-example.d.ts.map +1 -0
  36. package/dist/mutators/request-example.js +58 -0
  37. package/dist/mutators/request-example.js.map +7 -0
  38. package/dist/mutators/request.d.ts +22 -0
  39. package/dist/mutators/request.d.ts.map +1 -0
  40. package/dist/mutators/request.js +53 -0
  41. package/dist/mutators/request.js.map +7 -0
  42. package/dist/mutators/security-schemes.d.ts +14 -0
  43. package/dist/mutators/security-schemes.d.ts.map +1 -0
  44. package/dist/mutators/security-schemes.js +27 -0
  45. package/dist/mutators/security-schemes.js.map +7 -0
  46. package/dist/mutators/server.d.ts +12 -0
  47. package/dist/mutators/server.d.ts.map +1 -0
  48. package/dist/mutators/server.js +24 -0
  49. package/dist/mutators/server.js.map +7 -0
  50. package/dist/navigation/helpers/traverse-description.d.ts +2 -1
  51. package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
  52. package/dist/navigation/helpers/traverse-description.js.map +2 -2
  53. package/dist/navigation/helpers/traverse-document.d.ts +89 -2
  54. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  55. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  56. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  57. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  58. package/dist/navigation/helpers/traverse-schemas.d.ts +2 -1
  59. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  60. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  61. package/dist/navigation/helpers/traverse-tags.d.ts +2 -1
  62. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  63. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  64. package/dist/navigation/helpers/traverse-webhooks.d.ts +2 -1
  65. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  66. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  67. package/dist/navigation/types.d.ts +1 -39
  68. package/dist/navigation/types.d.ts.map +1 -1
  69. package/dist/schemas/compose.d.ts.map +1 -0
  70. package/dist/schemas/{v3.1/compose.js.map → compose.js.map} +1 -1
  71. package/dist/schemas/inmemory-workspace.d.ts +68 -0
  72. package/dist/schemas/inmemory-workspace.d.ts.map +1 -0
  73. package/dist/schemas/inmemory-workspace.js +14 -0
  74. package/dist/schemas/inmemory-workspace.js.map +7 -0
  75. package/dist/schemas/navigation.d.ts +148 -0
  76. package/dist/schemas/navigation.d.ts.map +1 -0
  77. package/dist/schemas/navigation.js +76 -0
  78. package/dist/schemas/navigation.js.map +7 -0
  79. package/dist/schemas/reference-config/index.d.ts +1 -1
  80. package/dist/schemas/v3.1/strict/callback.js +1 -1
  81. package/dist/schemas/v3.1/strict/callback.js.map +1 -1
  82. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +16 -0
  83. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +1 -0
  84. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js +13 -0
  85. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +7 -0
  86. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts +27 -0
  87. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts.map +1 -0
  88. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js +23 -0
  89. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js.map +7 -0
  90. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts +38 -0
  91. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +1 -0
  92. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js +45 -0
  93. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js.map +7 -0
  94. package/dist/schemas/v3.1/strict/components.d.ts +45 -7948
  95. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  96. package/dist/schemas/v3.1/strict/components.js +4 -2
  97. package/dist/schemas/v3.1/strict/components.js.map +2 -2
  98. package/dist/schemas/v3.1/strict/contact.js +1 -1
  99. package/dist/schemas/v3.1/strict/contact.js.map +1 -1
  100. package/dist/schemas/v3.1/strict/discriminator.js +1 -1
  101. package/dist/schemas/v3.1/strict/discriminator.js.map +1 -1
  102. package/dist/schemas/v3.1/strict/encoding.js +1 -1
  103. package/dist/schemas/v3.1/strict/encoding.js.map +1 -1
  104. package/dist/schemas/v3.1/strict/example.js +1 -1
  105. package/dist/schemas/v3.1/strict/example.js.map +1 -1
  106. package/dist/schemas/v3.1/strict/external-documentation.js +1 -1
  107. package/dist/schemas/v3.1/strict/external-documentation.js.map +1 -1
  108. package/dist/schemas/v3.1/strict/header.js +1 -1
  109. package/dist/schemas/v3.1/strict/header.js.map +1 -1
  110. package/dist/schemas/v3.1/strict/info.js +1 -1
  111. package/dist/schemas/v3.1/strict/info.js.map +1 -1
  112. package/dist/schemas/v3.1/strict/license.js +1 -1
  113. package/dist/schemas/v3.1/strict/license.js.map +1 -1
  114. package/dist/schemas/v3.1/strict/link.js +1 -1
  115. package/dist/schemas/v3.1/strict/link.js.map +1 -1
  116. package/dist/schemas/v3.1/strict/media-type.js +1 -1
  117. package/dist/schemas/v3.1/strict/media-type.js.map +1 -1
  118. package/dist/schemas/v3.1/strict/oauth-flow.js +1 -1
  119. package/dist/schemas/v3.1/strict/oauth-flow.js.map +1 -1
  120. package/dist/schemas/v3.1/strict/oauthflows.js +1 -1
  121. package/dist/schemas/v3.1/strict/oauthflows.js.map +1 -1
  122. package/dist/schemas/v3.1/strict/openapi-document.d.ts +63 -0
  123. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  124. package/dist/schemas/v3.1/strict/openapi-document.js +12 -2
  125. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  126. package/dist/schemas/v3.1/strict/operation.d.ts +18 -0
  127. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  128. package/dist/schemas/v3.1/strict/operation.js +8 -1
  129. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  130. package/dist/schemas/v3.1/strict/parameter.js +1 -1
  131. package/dist/schemas/v3.1/strict/parameter.js.map +1 -1
  132. package/dist/schemas/v3.1/strict/path-item.d.ts +6 -0
  133. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  134. package/dist/schemas/v3.1/strict/path-item.js +7 -1
  135. package/dist/schemas/v3.1/strict/path-item.js.map +2 -2
  136. package/dist/schemas/v3.1/strict/path-operations.d.ts +3975 -228
  137. package/dist/schemas/v3.1/strict/path-operations.d.ts.map +1 -1
  138. package/dist/schemas/v3.1/strict/paths.d.ts +1864 -1
  139. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  140. package/dist/schemas/v3.1/strict/paths.js +1 -1
  141. package/dist/schemas/v3.1/strict/paths.js.map +1 -1
  142. package/dist/schemas/v3.1/strict/reference.js +1 -1
  143. package/dist/schemas/v3.1/strict/reference.js.map +1 -1
  144. package/dist/schemas/v3.1/strict/request-body.js +1 -1
  145. package/dist/schemas/v3.1/strict/request-body.js.map +1 -1
  146. package/dist/schemas/v3.1/strict/response.js +1 -1
  147. package/dist/schemas/v3.1/strict/response.js.map +1 -1
  148. package/dist/schemas/v3.1/strict/responses.js +1 -1
  149. package/dist/schemas/v3.1/strict/responses.js.map +1 -1
  150. package/dist/schemas/v3.1/strict/schema.js +1 -1
  151. package/dist/schemas/v3.1/strict/schema.js.map +1 -1
  152. package/dist/schemas/v3.1/strict/security-requirement.js +1 -1
  153. package/dist/schemas/v3.1/strict/security-requirement.js.map +1 -1
  154. package/dist/schemas/v3.1/strict/security-scheme.js +1 -1
  155. package/dist/schemas/v3.1/strict/security-scheme.js.map +1 -1
  156. package/dist/schemas/v3.1/strict/server-variable.js +1 -1
  157. package/dist/schemas/v3.1/strict/server-variable.js.map +1 -1
  158. package/dist/schemas/v3.1/strict/server.js +1 -1
  159. package/dist/schemas/v3.1/strict/server.js.map +1 -1
  160. package/dist/schemas/v3.1/strict/tag.js +1 -1
  161. package/dist/schemas/v3.1/strict/tag.js.map +1 -1
  162. package/dist/schemas/v3.1/strict/xml.js +1 -1
  163. package/dist/schemas/v3.1/strict/xml.js.map +1 -1
  164. package/dist/schemas/workspace-specification/config.d.ts +48 -0
  165. package/dist/schemas/workspace-specification/config.d.ts.map +1 -0
  166. package/dist/schemas/workspace-specification/config.js +11 -0
  167. package/dist/schemas/workspace-specification/config.js.map +7 -0
  168. package/dist/schemas/workspace-specification/index.d.ts +210 -0
  169. package/dist/schemas/workspace-specification/index.d.ts.map +1 -0
  170. package/dist/schemas/workspace-specification/index.js +27 -0
  171. package/dist/schemas/workspace-specification/index.js.map +7 -0
  172. package/dist/schemas/workspace-specification/info.d.ts +5 -0
  173. package/dist/schemas/workspace-specification/info.d.ts.map +1 -0
  174. package/dist/schemas/workspace-specification/info.js +9 -0
  175. package/dist/schemas/workspace-specification/info.js.map +7 -0
  176. package/dist/schemas/workspace.d.ts +147 -79
  177. package/dist/schemas/workspace.d.ts.map +1 -1
  178. package/dist/schemas/workspace.js +19 -4
  179. package/dist/schemas/workspace.js.map +2 -2
  180. package/dist/server.d.ts +860 -188
  181. package/dist/server.d.ts.map +1 -1
  182. package/dist/server.js.map +1 -1
  183. package/package.json +12 -10
  184. package/dist/schemas/v3.1/compose.d.ts.map +0 -1
  185. /package/dist/schemas/{v3.1/compose.d.ts → compose.d.ts} +0 -0
  186. /package/dist/schemas/{v3.1/compose.js → compose.js} +0 -0
package/dist/server.d.ts CHANGED
@@ -4,7 +4,7 @@ import { extensions } from './schemas/extensions.js';
4
4
  import { type OpenApiDocument } from './schemas/v3.1/strict/openapi-document.js';
5
5
  import type { PathsObject } from './schemas/v3.1/strict/paths.js';
6
6
  import type { OperationObject } from './schemas/v3.1/strict/path-operations.js';
7
- import type { TraversedEntry } from './navigation/types.js';
7
+ import type { TraversedEntry } from './schemas/navigation.js';
8
8
  export declare const WORKSPACE_FILE_NAME = "scalar-workspace.json";
9
9
  type WorkspaceDocumentMetaInput = {
10
10
  name: string;
@@ -55,8 +55,8 @@ type CreateServerWorkspaceStore = ({
55
55
  * }
56
56
  */
57
57
  export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string, Record<string, ({
58
- summary?: string | undefined;
59
58
  description?: string | undefined;
59
+ summary?: string | undefined;
60
60
  externalDocs?: ({
61
61
  description?: string | undefined;
62
62
  url: string;
@@ -66,8 +66,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
66
66
  deprecated?: boolean | undefined;
67
67
  operationId?: string | undefined;
68
68
  parameters?: (({
69
- summary?: string | undefined;
70
69
  description?: string | undefined;
70
+ summary?: string | undefined;
71
71
  $ref: string;
72
72
  } & {
73
73
  $status?: "loading" | "error" | undefined;
@@ -80,14 +80,14 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
80
80
  deprecated?: boolean | undefined;
81
81
  allowEmptyValue?: boolean | undefined;
82
82
  name: string;
83
- in: "query" | "header" | "path" | "cookie";
83
+ in: "path" | "query" | "header" | "cookie";
84
84
  } & {
85
85
  [x: `x-${string}`]: unknown;
86
86
  } & {
87
87
  examples?: {
88
88
  [x: string]: ({
89
- summary?: string | undefined;
90
89
  description?: string | undefined;
90
+ summary?: string | undefined;
91
91
  $ref: string;
92
92
  } & {
93
93
  $status?: "loading" | "error" | undefined;
@@ -95,8 +95,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
95
95
  } & {
96
96
  [x: `x-${string}`]: unknown;
97
97
  }) | ({
98
- summary?: string | undefined;
99
98
  description?: string | undefined;
99
+ summary?: string | undefined;
100
100
  value?: any;
101
101
  externalValue?: string | undefined;
102
102
  } & {
@@ -106,8 +106,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
106
106
  style?: string | undefined;
107
107
  explode?: boolean | undefined;
108
108
  schema?: ({
109
- summary?: string | undefined;
110
109
  description?: string | undefined;
110
+ summary?: string | undefined;
111
111
  $ref: string;
112
112
  } & {
113
113
  $status?: "loading" | "error" | undefined;
@@ -154,7 +154,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
154
154
  deprecated?: boolean | undefined;
155
155
  allowEmptyValue?: boolean | undefined;
156
156
  name: string;
157
- in: "query" | "header" | "path" | "cookie";
157
+ in: "path" | "query" | "header" | "cookie";
158
158
  } & {
159
159
  [x: `x-${string}`]: unknown;
160
160
  } & {
@@ -163,15 +163,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
163
163
  example?: any;
164
164
  examples?: {
165
165
  [x: string]: ({
166
- summary?: string | undefined;
167
166
  description?: string | undefined;
167
+ summary?: string | undefined;
168
168
  value?: any;
169
169
  externalValue?: string | undefined;
170
170
  } & {
171
171
  [x: `x-${string}`]: unknown;
172
172
  }) | ({
173
- summary?: string | undefined;
174
173
  description?: string | undefined;
174
+ summary?: string | undefined;
175
175
  $ref: string;
176
176
  } & {
177
177
  $status?: "loading" | "error" | undefined;
@@ -218,8 +218,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
218
218
  contentType?: string | undefined;
219
219
  headers?: {
220
220
  [x: string]: ({
221
- summary?: string | undefined;
222
221
  description?: string | undefined;
222
+ summary?: string | undefined;
223
223
  $ref: string;
224
224
  } & {
225
225
  $status?: "loading" | "error" | undefined;
@@ -235,15 +235,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
235
235
  } & {
236
236
  examples?: {
237
237
  [x: string]: ({
238
- summary?: string | undefined;
239
238
  description?: string | undefined;
239
+ summary?: string | undefined;
240
240
  value?: any;
241
241
  externalValue?: string | undefined;
242
242
  } & {
243
243
  [x: `x-${string}`]: unknown;
244
244
  }) | ({
245
- summary?: string | undefined;
246
245
  description?: string | undefined;
246
+ summary?: string | undefined;
247
247
  $ref: string;
248
248
  } & {
249
249
  $status?: "loading" | "error" | undefined;
@@ -255,8 +255,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
255
255
  style?: string | undefined;
256
256
  explode?: boolean | undefined;
257
257
  schema?: ({
258
- summary?: string | undefined;
259
258
  description?: string | undefined;
259
+ summary?: string | undefined;
260
260
  $ref: string;
261
261
  } & {
262
262
  $status?: "loading" | "error" | undefined;
@@ -321,8 +321,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
321
321
  } | undefined;
322
322
  }))[] | undefined;
323
323
  requestBody?: ({
324
- summary?: string | undefined;
325
324
  description?: string | undefined;
325
+ summary?: string | undefined;
326
326
  $ref: string;
327
327
  } & {
328
328
  $status?: "loading" | "error" | undefined;
@@ -337,15 +337,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
337
337
  example?: any;
338
338
  examples?: {
339
339
  [x: string]: ({
340
- summary?: string | undefined;
341
340
  description?: string | undefined;
341
+ summary?: string | undefined;
342
342
  value?: any;
343
343
  externalValue?: string | undefined;
344
344
  } & {
345
345
  [x: `x-${string}`]: unknown;
346
346
  }) | ({
347
- summary?: string | undefined;
348
347
  description?: string | undefined;
348
+ summary?: string | undefined;
349
349
  $ref: string;
350
350
  } & {
351
351
  $status?: "loading" | "error" | undefined;
@@ -392,8 +392,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
392
392
  contentType?: string | undefined;
393
393
  headers?: {
394
394
  [x: string]: ({
395
- summary?: string | undefined;
396
395
  description?: string | undefined;
396
+ summary?: string | undefined;
397
397
  $ref: string;
398
398
  } & {
399
399
  $status?: "loading" | "error" | undefined;
@@ -409,15 +409,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
409
409
  } & {
410
410
  examples?: {
411
411
  [x: string]: ({
412
- summary?: string | undefined;
413
412
  description?: string | undefined;
413
+ summary?: string | undefined;
414
414
  value?: any;
415
415
  externalValue?: string | undefined;
416
416
  } & {
417
417
  [x: `x-${string}`]: unknown;
418
418
  }) | ({
419
- summary?: string | undefined;
420
419
  description?: string | undefined;
420
+ summary?: string | undefined;
421
421
  $ref: string;
422
422
  } & {
423
423
  $status?: "loading" | "error" | undefined;
@@ -429,8 +429,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
429
429
  style?: string | undefined;
430
430
  explode?: boolean | undefined;
431
431
  schema?: ({
432
- summary?: string | undefined;
433
432
  description?: string | undefined;
433
+ summary?: string | undefined;
434
434
  $ref: string;
435
435
  } & {
436
436
  $status?: "loading" | "error" | undefined;
@@ -499,8 +499,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
499
499
  tags?: string[] | undefined;
500
500
  responses?: ({
501
501
  [x: string]: ({
502
- summary?: string | undefined;
503
502
  description?: string | undefined;
503
+ summary?: string | undefined;
504
504
  $ref: string;
505
505
  } & {
506
506
  $status?: "loading" | "error" | undefined;
@@ -518,35 +518,26 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
518
518
  } & {
519
519
  examples?: {
520
520
  [x: string]: ({
521
- summary?: string | undefined;
522
521
  description?: string | undefined;
523
- value?: any;
524
- externalValue?: string | undefined;
525
- } & {
526
- [x: `x-${string}`]: unknown;
527
- }) | ({
528
522
  summary?: string | undefined;
529
- description?: string | undefined;
530
523
  $ref: string;
531
524
  } & {
532
525
  $status?: "loading" | "error" | undefined;
533
526
  $global?: boolean | undefined;
534
527
  } & {
535
528
  [x: `x-${string}`]: unknown;
529
+ }) | ({
530
+ description?: string | undefined;
531
+ summary?: string | undefined;
532
+ value?: any;
533
+ externalValue?: string | undefined;
534
+ } & {
535
+ [x: `x-${string}`]: unknown;
536
536
  });
537
537
  } | undefined;
538
538
  style?: string | undefined;
539
539
  explode?: boolean | undefined;
540
540
  schema?: ({
541
- summary?: string | undefined;
542
- description?: string | undefined;
543
- $ref: string;
544
- } & {
545
- $status?: "loading" | "error" | undefined;
546
- $global?: boolean | undefined;
547
- } & {
548
- [x: `x-${string}`]: unknown;
549
- }) | ({
550
541
  discriminator?: ({
551
542
  mapping?: {
552
543
  [x: string]: string;
@@ -578,6 +569,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
578
569
  'x-tags'?: string[] | undefined;
579
570
  } & {
580
571
  [x: string]: unknown;
572
+ }) | ({
573
+ description?: string | undefined;
574
+ summary?: string | undefined;
575
+ $ref: string;
576
+ } & {
577
+ $status?: "loading" | "error" | undefined;
578
+ $global?: boolean | undefined;
579
+ } & {
580
+ [x: `x-${string}`]: unknown;
581
581
  }) | undefined;
582
582
  example: any;
583
583
  }) | ({
@@ -592,21 +592,21 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
592
592
  example?: any;
593
593
  examples?: {
594
594
  [x: string]: ({
595
- summary?: string | undefined;
596
595
  description?: string | undefined;
597
- value?: any;
598
- externalValue?: string | undefined;
599
- } & {
600
- [x: `x-${string}`]: unknown;
601
- }) | ({
602
596
  summary?: string | undefined;
603
- description?: string | undefined;
604
597
  $ref: string;
605
598
  } & {
606
599
  $status?: "loading" | "error" | undefined;
607
600
  $global?: boolean | undefined;
608
601
  } & {
609
602
  [x: `x-${string}`]: unknown;
603
+ }) | ({
604
+ description?: string | undefined;
605
+ summary?: string | undefined;
606
+ value?: any;
607
+ externalValue?: string | undefined;
608
+ } & {
609
+ [x: `x-${string}`]: unknown;
610
610
  });
611
611
  } | undefined;
612
612
  schema?: ({
@@ -655,35 +655,26 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
655
655
  } & {
656
656
  examples?: {
657
657
  [x: string]: ({
658
- summary?: string | undefined;
659
658
  description?: string | undefined;
660
- value?: any;
661
- externalValue?: string | undefined;
662
- } & {
663
- [x: `x-${string}`]: unknown;
664
- }) | ({
665
659
  summary?: string | undefined;
666
- description?: string | undefined;
667
660
  $ref: string;
668
661
  } & {
669
662
  $status?: "loading" | "error" | undefined;
670
663
  $global?: boolean | undefined;
671
664
  } & {
672
665
  [x: `x-${string}`]: unknown;
666
+ }) | ({
667
+ description?: string | undefined;
668
+ summary?: string | undefined;
669
+ value?: any;
670
+ externalValue?: string | undefined;
671
+ } & {
672
+ [x: `x-${string}`]: unknown;
673
673
  });
674
674
  } | undefined;
675
675
  style?: string | undefined;
676
676
  explode?: boolean | undefined;
677
677
  schema?: ({
678
- summary?: string | undefined;
679
- description?: string | undefined;
680
- $ref: string;
681
- } & {
682
- $status?: "loading" | "error" | undefined;
683
- $global?: boolean | undefined;
684
- } & {
685
- [x: `x-${string}`]: unknown;
686
- }) | ({
687
678
  discriminator?: ({
688
679
  mapping?: {
689
680
  [x: string]: string;
@@ -715,6 +706,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
715
706
  'x-tags'?: string[] | undefined;
716
707
  } & {
717
708
  [x: string]: unknown;
709
+ }) | ({
710
+ description?: string | undefined;
711
+ summary?: string | undefined;
712
+ $ref: string;
713
+ } & {
714
+ $status?: "loading" | "error" | undefined;
715
+ $global?: boolean | undefined;
716
+ } & {
717
+ [x: `x-${string}`]: unknown;
718
718
  }) | undefined;
719
719
  example: any;
720
720
  }) | ({
@@ -724,8 +724,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
724
724
  } & {
725
725
  [x: `x-${string}`]: unknown;
726
726
  } & any) | ({
727
- summary?: string | undefined;
728
727
  description?: string | undefined;
728
+ summary?: string | undefined;
729
729
  $ref: string;
730
730
  } & {
731
731
  $status?: "loading" | "error" | undefined;
@@ -743,8 +743,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
743
743
  };
744
744
  } | undefined;
745
745
  }) | ({
746
- summary?: string | undefined;
747
746
  description?: string | undefined;
747
+ summary?: string | undefined;
748
748
  $ref: string;
749
749
  } & {
750
750
  $status?: "loading" | "error" | undefined;
@@ -758,15 +758,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
758
758
  example?: any;
759
759
  examples?: {
760
760
  [x: string]: ({
761
- summary?: string | undefined;
762
761
  description?: string | undefined;
762
+ summary?: string | undefined;
763
763
  value?: any;
764
764
  externalValue?: string | undefined;
765
765
  } & {
766
766
  [x: `x-${string}`]: unknown;
767
767
  }) | ({
768
- summary?: string | undefined;
769
768
  description?: string | undefined;
769
+ summary?: string | undefined;
770
770
  $ref: string;
771
771
  } & {
772
772
  $status?: "loading" | "error" | undefined;
@@ -813,8 +813,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
813
813
  contentType?: string | undefined;
814
814
  headers?: {
815
815
  [x: string]: ({
816
- summary?: string | undefined;
817
816
  description?: string | undefined;
817
+ summary?: string | undefined;
818
818
  $ref: string;
819
819
  } & {
820
820
  $status?: "loading" | "error" | undefined;
@@ -830,15 +830,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
830
830
  } & {
831
831
  examples?: {
832
832
  [x: string]: ({
833
- summary?: string | undefined;
834
833
  description?: string | undefined;
834
+ summary?: string | undefined;
835
835
  value?: any;
836
836
  externalValue?: string | undefined;
837
837
  } & {
838
838
  [x: `x-${string}`]: unknown;
839
839
  }) | ({
840
- summary?: string | undefined;
841
840
  description?: string | undefined;
841
+ summary?: string | undefined;
842
842
  $ref: string;
843
843
  } & {
844
844
  $status?: "loading" | "error" | undefined;
@@ -850,8 +850,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
850
850
  style?: string | undefined;
851
851
  explode?: boolean | undefined;
852
852
  schema?: ({
853
- summary?: string | undefined;
854
853
  description?: string | undefined;
854
+ summary?: string | undefined;
855
855
  $ref: string;
856
856
  } & {
857
857
  $status?: "loading" | "error" | undefined;
@@ -916,8 +916,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
916
916
  } | undefined;
917
917
  links?: {
918
918
  [x: string]: ({
919
- summary?: string | undefined;
920
919
  description?: string | undefined;
920
+ summary?: string | undefined;
921
921
  $ref: string;
922
922
  } & {
923
923
  $status?: "loading" | "error" | undefined;
@@ -980,8 +980,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
980
980
  })[] | undefined;
981
981
  callbacks?: {
982
982
  [x: string]: ({
983
- summary?: string | undefined;
984
983
  description?: string | undefined;
984
+ summary?: string | undefined;
985
985
  $ref: string;
986
986
  } & {
987
987
  $status?: "loading" | "error" | undefined;
@@ -990,12 +990,12 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
990
990
  [x: `x-${string}`]: unknown;
991
991
  }) | ({
992
992
  [x: string]: {
993
- summary?: string | undefined;
994
993
  description?: string | undefined;
995
994
  $ref?: string | undefined;
995
+ summary?: string | undefined;
996
996
  parameters?: (({
997
- summary?: string | undefined;
998
997
  description?: string | undefined;
998
+ summary?: string | undefined;
999
999
  $ref: string;
1000
1000
  } & {
1001
1001
  $status?: "loading" | "error" | undefined;
@@ -1008,14 +1008,14 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1008
1008
  deprecated?: boolean | undefined;
1009
1009
  allowEmptyValue?: boolean | undefined;
1010
1010
  name: string;
1011
- in: "query" | "header" | "path" | "cookie";
1011
+ in: "path" | "query" | "header" | "cookie";
1012
1012
  } & {
1013
1013
  [x: `x-${string}`]: unknown;
1014
1014
  } & {
1015
1015
  examples?: {
1016
1016
  [x: string]: ({
1017
- summary?: string | undefined;
1018
1017
  description?: string | undefined;
1018
+ summary?: string | undefined;
1019
1019
  $ref: string;
1020
1020
  } & {
1021
1021
  $status?: "loading" | "error" | undefined;
@@ -1023,8 +1023,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1023
1023
  } & {
1024
1024
  [x: `x-${string}`]: unknown;
1025
1025
  }) | ({
1026
- summary?: string | undefined;
1027
1026
  description?: string | undefined;
1027
+ summary?: string | undefined;
1028
1028
  value?: any;
1029
1029
  externalValue?: string | undefined;
1030
1030
  } & {
@@ -1034,8 +1034,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1034
1034
  style?: string | undefined;
1035
1035
  explode?: boolean | undefined;
1036
1036
  schema?: ({
1037
- summary?: string | undefined;
1038
1037
  description?: string | undefined;
1038
+ summary?: string | undefined;
1039
1039
  $ref: string;
1040
1040
  } & {
1041
1041
  $status?: "loading" | "error" | undefined;
@@ -1082,7 +1082,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1082
1082
  deprecated?: boolean | undefined;
1083
1083
  allowEmptyValue?: boolean | undefined;
1084
1084
  name: string;
1085
- in: "query" | "header" | "path" | "cookie";
1085
+ in: "path" | "query" | "header" | "cookie";
1086
1086
  } & {
1087
1087
  [x: `x-${string}`]: unknown;
1088
1088
  } & {
@@ -1091,15 +1091,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1091
1091
  example?: any;
1092
1092
  examples?: {
1093
1093
  [x: string]: ({
1094
- summary?: string | undefined;
1095
1094
  description?: string | undefined;
1095
+ summary?: string | undefined;
1096
1096
  value?: any;
1097
1097
  externalValue?: string | undefined;
1098
1098
  } & {
1099
1099
  [x: `x-${string}`]: unknown;
1100
1100
  }) | ({
1101
- summary?: string | undefined;
1102
1101
  description?: string | undefined;
1102
+ summary?: string | undefined;
1103
1103
  $ref: string;
1104
1104
  } & {
1105
1105
  $status?: "loading" | "error" | undefined;
@@ -1146,8 +1146,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1146
1146
  contentType?: string | undefined;
1147
1147
  headers?: {
1148
1148
  [x: string]: ({
1149
- summary?: string | undefined;
1150
1149
  description?: string | undefined;
1150
+ summary?: string | undefined;
1151
1151
  $ref: string;
1152
1152
  } & {
1153
1153
  $status?: "loading" | "error" | undefined;
@@ -1163,15 +1163,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1163
1163
  } & {
1164
1164
  examples?: {
1165
1165
  [x: string]: ({
1166
- summary?: string | undefined;
1167
1166
  description?: string | undefined;
1167
+ summary?: string | undefined;
1168
1168
  value?: any;
1169
1169
  externalValue?: string | undefined;
1170
1170
  } & {
1171
1171
  [x: `x-${string}`]: unknown;
1172
1172
  }) | ({
1173
- summary?: string | undefined;
1174
1173
  description?: string | undefined;
1174
+ summary?: string | undefined;
1175
1175
  $ref: string;
1176
1176
  } & {
1177
1177
  $status?: "loading" | "error" | undefined;
@@ -1183,8 +1183,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1183
1183
  style?: string | undefined;
1184
1184
  explode?: boolean | undefined;
1185
1185
  schema?: ({
1186
- summary?: string | undefined;
1187
1186
  description?: string | undefined;
1187
+ summary?: string | undefined;
1188
1188
  $ref: string;
1189
1189
  } & {
1190
1190
  $status?: "loading" | "error" | undefined;
@@ -1264,10 +1264,40 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1264
1264
  [x: `x-${string}`]: unknown;
1265
1265
  })[] | undefined;
1266
1266
  get?: (any & {
1267
+ 'x-scalar-client-config-request-example'?: {
1268
+ [x: string]: {
1269
+ name?: string | undefined;
1270
+ parameters?: {
1271
+ path?: {
1272
+ [x: string]: string;
1273
+ } | undefined;
1274
+ query?: {
1275
+ [x: string]: string;
1276
+ } | undefined;
1277
+ header?: {
1278
+ [x: string]: string;
1279
+ } | undefined;
1280
+ cookie?: {
1281
+ [x: string]: string;
1282
+ } | undefined;
1283
+ } | undefined;
1284
+ body?: {
1285
+ file?: {
1286
+ base64?: string | undefined;
1287
+ url: string;
1288
+ } | null | undefined;
1289
+ content: string | {
1290
+ [x: string]: any;
1291
+ };
1292
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1293
+ } | undefined;
1294
+ };
1295
+ } | undefined;
1296
+ } & {
1267
1297
  [x: `x-${string}`]: unknown;
1268
1298
  }) | ({
1269
- summary?: string | undefined;
1270
1299
  description?: string | undefined;
1300
+ summary?: string | undefined;
1271
1301
  $ref: string;
1272
1302
  } & {
1273
1303
  $status?: "loading" | "error" | undefined;
@@ -1276,10 +1306,40 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1276
1306
  [x: `x-${string}`]: unknown;
1277
1307
  }) | undefined;
1278
1308
  put?: (any & {
1309
+ 'x-scalar-client-config-request-example'?: {
1310
+ [x: string]: {
1311
+ name?: string | undefined;
1312
+ parameters?: {
1313
+ path?: {
1314
+ [x: string]: string;
1315
+ } | undefined;
1316
+ query?: {
1317
+ [x: string]: string;
1318
+ } | undefined;
1319
+ header?: {
1320
+ [x: string]: string;
1321
+ } | undefined;
1322
+ cookie?: {
1323
+ [x: string]: string;
1324
+ } | undefined;
1325
+ } | undefined;
1326
+ body?: {
1327
+ file?: {
1328
+ base64?: string | undefined;
1329
+ url: string;
1330
+ } | null | undefined;
1331
+ content: string | {
1332
+ [x: string]: any;
1333
+ };
1334
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1335
+ } | undefined;
1336
+ };
1337
+ } | undefined;
1338
+ } & {
1279
1339
  [x: `x-${string}`]: unknown;
1280
1340
  }) | ({
1281
- summary?: string | undefined;
1282
1341
  description?: string | undefined;
1342
+ summary?: string | undefined;
1283
1343
  $ref: string;
1284
1344
  } & {
1285
1345
  $status?: "loading" | "error" | undefined;
@@ -1288,10 +1348,40 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1288
1348
  [x: `x-${string}`]: unknown;
1289
1349
  }) | undefined;
1290
1350
  post?: (any & {
1351
+ 'x-scalar-client-config-request-example'?: {
1352
+ [x: string]: {
1353
+ name?: string | undefined;
1354
+ parameters?: {
1355
+ path?: {
1356
+ [x: string]: string;
1357
+ } | undefined;
1358
+ query?: {
1359
+ [x: string]: string;
1360
+ } | undefined;
1361
+ header?: {
1362
+ [x: string]: string;
1363
+ } | undefined;
1364
+ cookie?: {
1365
+ [x: string]: string;
1366
+ } | undefined;
1367
+ } | undefined;
1368
+ body?: {
1369
+ file?: {
1370
+ base64?: string | undefined;
1371
+ url: string;
1372
+ } | null | undefined;
1373
+ content: string | {
1374
+ [x: string]: any;
1375
+ };
1376
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1377
+ } | undefined;
1378
+ };
1379
+ } | undefined;
1380
+ } & {
1291
1381
  [x: `x-${string}`]: unknown;
1292
1382
  }) | ({
1293
- summary?: string | undefined;
1294
1383
  description?: string | undefined;
1384
+ summary?: string | undefined;
1295
1385
  $ref: string;
1296
1386
  } & {
1297
1387
  $status?: "loading" | "error" | undefined;
@@ -1300,10 +1390,40 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1300
1390
  [x: `x-${string}`]: unknown;
1301
1391
  }) | undefined;
1302
1392
  delete?: (any & {
1393
+ 'x-scalar-client-config-request-example'?: {
1394
+ [x: string]: {
1395
+ name?: string | undefined;
1396
+ parameters?: {
1397
+ path?: {
1398
+ [x: string]: string;
1399
+ } | undefined;
1400
+ query?: {
1401
+ [x: string]: string;
1402
+ } | undefined;
1403
+ header?: {
1404
+ [x: string]: string;
1405
+ } | undefined;
1406
+ cookie?: {
1407
+ [x: string]: string;
1408
+ } | undefined;
1409
+ } | undefined;
1410
+ body?: {
1411
+ file?: {
1412
+ base64?: string | undefined;
1413
+ url: string;
1414
+ } | null | undefined;
1415
+ content: string | {
1416
+ [x: string]: any;
1417
+ };
1418
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1419
+ } | undefined;
1420
+ };
1421
+ } | undefined;
1422
+ } & {
1303
1423
  [x: `x-${string}`]: unknown;
1304
1424
  }) | ({
1305
- summary?: string | undefined;
1306
1425
  description?: string | undefined;
1426
+ summary?: string | undefined;
1307
1427
  $ref: string;
1308
1428
  } & {
1309
1429
  $status?: "loading" | "error" | undefined;
@@ -1312,10 +1432,40 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1312
1432
  [x: `x-${string}`]: unknown;
1313
1433
  }) | undefined;
1314
1434
  patch?: (any & {
1435
+ 'x-scalar-client-config-request-example'?: {
1436
+ [x: string]: {
1437
+ name?: string | undefined;
1438
+ parameters?: {
1439
+ path?: {
1440
+ [x: string]: string;
1441
+ } | undefined;
1442
+ query?: {
1443
+ [x: string]: string;
1444
+ } | undefined;
1445
+ header?: {
1446
+ [x: string]: string;
1447
+ } | undefined;
1448
+ cookie?: {
1449
+ [x: string]: string;
1450
+ } | undefined;
1451
+ } | undefined;
1452
+ body?: {
1453
+ file?: {
1454
+ base64?: string | undefined;
1455
+ url: string;
1456
+ } | null | undefined;
1457
+ content: string | {
1458
+ [x: string]: any;
1459
+ };
1460
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1461
+ } | undefined;
1462
+ };
1463
+ } | undefined;
1464
+ } & {
1315
1465
  [x: `x-${string}`]: unknown;
1316
1466
  }) | ({
1317
- summary?: string | undefined;
1318
1467
  description?: string | undefined;
1468
+ summary?: string | undefined;
1319
1469
  $ref: string;
1320
1470
  } & {
1321
1471
  $status?: "loading" | "error" | undefined;
@@ -1323,11 +1473,41 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1323
1473
  } & {
1324
1474
  [x: `x-${string}`]: unknown;
1325
1475
  }) | undefined;
1326
- trace?: (any & {
1476
+ connect?: (any & {
1477
+ 'x-scalar-client-config-request-example'?: {
1478
+ [x: string]: {
1479
+ name?: string | undefined;
1480
+ parameters?: {
1481
+ path?: {
1482
+ [x: string]: string;
1483
+ } | undefined;
1484
+ query?: {
1485
+ [x: string]: string;
1486
+ } | undefined;
1487
+ header?: {
1488
+ [x: string]: string;
1489
+ } | undefined;
1490
+ cookie?: {
1491
+ [x: string]: string;
1492
+ } | undefined;
1493
+ } | undefined;
1494
+ body?: {
1495
+ file?: {
1496
+ base64?: string | undefined;
1497
+ url: string;
1498
+ } | null | undefined;
1499
+ content: string | {
1500
+ [x: string]: any;
1501
+ };
1502
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1503
+ } | undefined;
1504
+ };
1505
+ } | undefined;
1506
+ } & {
1327
1507
  [x: `x-${string}`]: unknown;
1328
1508
  }) | ({
1329
- summary?: string | undefined;
1330
1509
  description?: string | undefined;
1510
+ summary?: string | undefined;
1331
1511
  $ref: string;
1332
1512
  } & {
1333
1513
  $status?: "loading" | "error" | undefined;
@@ -1335,18 +1515,174 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1335
1515
  } & {
1336
1516
  [x: `x-${string}`]: unknown;
1337
1517
  }) | undefined;
1338
- } & {
1339
- [x: `x-${string}`]: unknown;
1340
- };
1341
- } & {
1342
- [x: `x-${string}`]: unknown;
1343
- });
1344
- } | undefined;
1518
+ options?: (any & {
1519
+ 'x-scalar-client-config-request-example'?: {
1520
+ [x: string]: {
1521
+ name?: string | undefined;
1522
+ parameters?: {
1523
+ path?: {
1524
+ [x: string]: string;
1525
+ } | undefined;
1526
+ query?: {
1527
+ [x: string]: string;
1528
+ } | undefined;
1529
+ header?: {
1530
+ [x: string]: string;
1531
+ } | undefined;
1532
+ cookie?: {
1533
+ [x: string]: string;
1534
+ } | undefined;
1535
+ } | undefined;
1536
+ body?: {
1537
+ file?: {
1538
+ base64?: string | undefined;
1539
+ url: string;
1540
+ } | null | undefined;
1541
+ content: string | {
1542
+ [x: string]: any;
1543
+ };
1544
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1545
+ } | undefined;
1546
+ };
1547
+ } | undefined;
1548
+ } & {
1549
+ [x: `x-${string}`]: unknown;
1550
+ }) | ({
1551
+ description?: string | undefined;
1552
+ summary?: string | undefined;
1553
+ $ref: string;
1554
+ } & {
1555
+ $status?: "loading" | "error" | undefined;
1556
+ $global?: boolean | undefined;
1557
+ } & {
1558
+ [x: `x-${string}`]: unknown;
1559
+ }) | undefined;
1560
+ head?: (any & {
1561
+ 'x-scalar-client-config-request-example'?: {
1562
+ [x: string]: {
1563
+ name?: string | undefined;
1564
+ parameters?: {
1565
+ path?: {
1566
+ [x: string]: string;
1567
+ } | undefined;
1568
+ query?: {
1569
+ [x: string]: string;
1570
+ } | undefined;
1571
+ header?: {
1572
+ [x: string]: string;
1573
+ } | undefined;
1574
+ cookie?: {
1575
+ [x: string]: string;
1576
+ } | undefined;
1577
+ } | undefined;
1578
+ body?: {
1579
+ file?: {
1580
+ base64?: string | undefined;
1581
+ url: string;
1582
+ } | null | undefined;
1583
+ content: string | {
1584
+ [x: string]: any;
1585
+ };
1586
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1587
+ } | undefined;
1588
+ };
1589
+ } | undefined;
1590
+ } & {
1591
+ [x: `x-${string}`]: unknown;
1592
+ }) | ({
1593
+ description?: string | undefined;
1594
+ summary?: string | undefined;
1595
+ $ref: string;
1596
+ } & {
1597
+ $status?: "loading" | "error" | undefined;
1598
+ $global?: boolean | undefined;
1599
+ } & {
1600
+ [x: `x-${string}`]: unknown;
1601
+ }) | undefined;
1602
+ trace?: (any & {
1603
+ 'x-scalar-client-config-request-example'?: {
1604
+ [x: string]: {
1605
+ name?: string | undefined;
1606
+ parameters?: {
1607
+ path?: {
1608
+ [x: string]: string;
1609
+ } | undefined;
1610
+ query?: {
1611
+ [x: string]: string;
1612
+ } | undefined;
1613
+ header?: {
1614
+ [x: string]: string;
1615
+ } | undefined;
1616
+ cookie?: {
1617
+ [x: string]: string;
1618
+ } | undefined;
1619
+ } | undefined;
1620
+ body?: {
1621
+ file?: {
1622
+ base64?: string | undefined;
1623
+ url: string;
1624
+ } | null | undefined;
1625
+ content: string | {
1626
+ [x: string]: any;
1627
+ };
1628
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1629
+ } | undefined;
1630
+ };
1631
+ } | undefined;
1632
+ } & {
1633
+ [x: `x-${string}`]: unknown;
1634
+ }) | ({
1635
+ description?: string | undefined;
1636
+ summary?: string | undefined;
1637
+ $ref: string;
1638
+ } & {
1639
+ $status?: "loading" | "error" | undefined;
1640
+ $global?: boolean | undefined;
1641
+ } & {
1642
+ [x: `x-${string}`]: unknown;
1643
+ }) | undefined;
1644
+ } & {
1645
+ [x: `x-${string}`]: unknown;
1646
+ };
1647
+ } & {
1648
+ [x: `x-${string}`]: unknown;
1649
+ });
1650
+ } | undefined;
1651
+ } & {
1652
+ 'x-scalar-client-config-request-example'?: {
1653
+ [x: string]: {
1654
+ name?: string | undefined;
1655
+ parameters?: {
1656
+ path?: {
1657
+ [x: string]: string;
1658
+ } | undefined;
1659
+ query?: {
1660
+ [x: string]: string;
1661
+ } | undefined;
1662
+ header?: {
1663
+ [x: string]: string;
1664
+ } | undefined;
1665
+ cookie?: {
1666
+ [x: string]: string;
1667
+ } | undefined;
1668
+ } | undefined;
1669
+ body?: {
1670
+ file?: {
1671
+ base64?: string | undefined;
1672
+ url: string;
1673
+ } | null | undefined;
1674
+ content: string | {
1675
+ [x: string]: any;
1676
+ };
1677
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
1678
+ } | undefined;
1679
+ };
1680
+ } | undefined;
1345
1681
  } & {
1346
1682
  [x: `x-${string}`]: unknown;
1347
1683
  }) | ({
1348
- summary?: string | undefined;
1349
1684
  description?: string | undefined;
1685
+ summary?: string | undefined;
1350
1686
  $ref: string;
1351
1687
  } & {
1352
1688
  $status?: "loading" | "error" | undefined;
@@ -1364,8 +1700,8 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1364
1700
  * Output: { "/users~1{id}": { ... } }
1365
1701
  */
1366
1702
  export declare function escapePaths(paths: Record<string, Record<string, OperationObject>>): Record<string, Record<string, ({
1367
- summary?: string | undefined;
1368
1703
  description?: string | undefined;
1704
+ summary?: string | undefined;
1369
1705
  externalDocs?: ({
1370
1706
  description?: string | undefined;
1371
1707
  url: string;
@@ -1375,8 +1711,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1375
1711
  deprecated?: boolean | undefined;
1376
1712
  operationId?: string | undefined;
1377
1713
  parameters?: (({
1378
- summary?: string | undefined;
1379
1714
  description?: string | undefined;
1715
+ summary?: string | undefined;
1380
1716
  $ref: string;
1381
1717
  } & {
1382
1718
  $status?: "loading" | "error" | undefined;
@@ -1389,14 +1725,14 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1389
1725
  deprecated?: boolean | undefined;
1390
1726
  allowEmptyValue?: boolean | undefined;
1391
1727
  name: string;
1392
- in: "query" | "header" | "path" | "cookie";
1728
+ in: "path" | "query" | "header" | "cookie";
1393
1729
  } & {
1394
1730
  [x: `x-${string}`]: unknown;
1395
1731
  } & {
1396
1732
  examples?: {
1397
1733
  [x: string]: ({
1398
- summary?: string | undefined;
1399
1734
  description?: string | undefined;
1735
+ summary?: string | undefined;
1400
1736
  $ref: string;
1401
1737
  } & {
1402
1738
  $status?: "loading" | "error" | undefined;
@@ -1404,8 +1740,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1404
1740
  } & {
1405
1741
  [x: `x-${string}`]: unknown;
1406
1742
  }) | ({
1407
- summary?: string | undefined;
1408
1743
  description?: string | undefined;
1744
+ summary?: string | undefined;
1409
1745
  value?: any;
1410
1746
  externalValue?: string | undefined;
1411
1747
  } & {
@@ -1415,8 +1751,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1415
1751
  style?: string | undefined;
1416
1752
  explode?: boolean | undefined;
1417
1753
  schema?: ({
1418
- summary?: string | undefined;
1419
1754
  description?: string | undefined;
1755
+ summary?: string | undefined;
1420
1756
  $ref: string;
1421
1757
  } & {
1422
1758
  $status?: "loading" | "error" | undefined;
@@ -1463,7 +1799,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1463
1799
  deprecated?: boolean | undefined;
1464
1800
  allowEmptyValue?: boolean | undefined;
1465
1801
  name: string;
1466
- in: "query" | "header" | "path" | "cookie";
1802
+ in: "path" | "query" | "header" | "cookie";
1467
1803
  } & {
1468
1804
  [x: `x-${string}`]: unknown;
1469
1805
  } & {
@@ -1472,15 +1808,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1472
1808
  example?: any;
1473
1809
  examples?: {
1474
1810
  [x: string]: ({
1475
- summary?: string | undefined;
1476
1811
  description?: string | undefined;
1812
+ summary?: string | undefined;
1477
1813
  value?: any;
1478
1814
  externalValue?: string | undefined;
1479
1815
  } & {
1480
1816
  [x: `x-${string}`]: unknown;
1481
1817
  }) | ({
1482
- summary?: string | undefined;
1483
1818
  description?: string | undefined;
1819
+ summary?: string | undefined;
1484
1820
  $ref: string;
1485
1821
  } & {
1486
1822
  $status?: "loading" | "error" | undefined;
@@ -1527,8 +1863,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1527
1863
  contentType?: string | undefined;
1528
1864
  headers?: {
1529
1865
  [x: string]: ({
1530
- summary?: string | undefined;
1531
1866
  description?: string | undefined;
1867
+ summary?: string | undefined;
1532
1868
  $ref: string;
1533
1869
  } & {
1534
1870
  $status?: "loading" | "error" | undefined;
@@ -1544,15 +1880,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1544
1880
  } & {
1545
1881
  examples?: {
1546
1882
  [x: string]: ({
1547
- summary?: string | undefined;
1548
1883
  description?: string | undefined;
1884
+ summary?: string | undefined;
1549
1885
  value?: any;
1550
1886
  externalValue?: string | undefined;
1551
1887
  } & {
1552
1888
  [x: `x-${string}`]: unknown;
1553
1889
  }) | ({
1554
- summary?: string | undefined;
1555
1890
  description?: string | undefined;
1891
+ summary?: string | undefined;
1556
1892
  $ref: string;
1557
1893
  } & {
1558
1894
  $status?: "loading" | "error" | undefined;
@@ -1564,8 +1900,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1564
1900
  style?: string | undefined;
1565
1901
  explode?: boolean | undefined;
1566
1902
  schema?: ({
1567
- summary?: string | undefined;
1568
1903
  description?: string | undefined;
1904
+ summary?: string | undefined;
1569
1905
  $ref: string;
1570
1906
  } & {
1571
1907
  $status?: "loading" | "error" | undefined;
@@ -1630,8 +1966,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1630
1966
  } | undefined;
1631
1967
  }))[] | undefined;
1632
1968
  requestBody?: ({
1633
- summary?: string | undefined;
1634
1969
  description?: string | undefined;
1970
+ summary?: string | undefined;
1635
1971
  $ref: string;
1636
1972
  } & {
1637
1973
  $status?: "loading" | "error" | undefined;
@@ -1646,15 +1982,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1646
1982
  example?: any;
1647
1983
  examples?: {
1648
1984
  [x: string]: ({
1649
- summary?: string | undefined;
1650
1985
  description?: string | undefined;
1986
+ summary?: string | undefined;
1651
1987
  value?: any;
1652
1988
  externalValue?: string | undefined;
1653
1989
  } & {
1654
1990
  [x: `x-${string}`]: unknown;
1655
1991
  }) | ({
1656
- summary?: string | undefined;
1657
1992
  description?: string | undefined;
1993
+ summary?: string | undefined;
1658
1994
  $ref: string;
1659
1995
  } & {
1660
1996
  $status?: "loading" | "error" | undefined;
@@ -1701,8 +2037,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1701
2037
  contentType?: string | undefined;
1702
2038
  headers?: {
1703
2039
  [x: string]: ({
1704
- summary?: string | undefined;
1705
2040
  description?: string | undefined;
2041
+ summary?: string | undefined;
1706
2042
  $ref: string;
1707
2043
  } & {
1708
2044
  $status?: "loading" | "error" | undefined;
@@ -1718,15 +2054,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1718
2054
  } & {
1719
2055
  examples?: {
1720
2056
  [x: string]: ({
1721
- summary?: string | undefined;
1722
2057
  description?: string | undefined;
2058
+ summary?: string | undefined;
1723
2059
  value?: any;
1724
2060
  externalValue?: string | undefined;
1725
2061
  } & {
1726
2062
  [x: `x-${string}`]: unknown;
1727
2063
  }) | ({
1728
- summary?: string | undefined;
1729
2064
  description?: string | undefined;
2065
+ summary?: string | undefined;
1730
2066
  $ref: string;
1731
2067
  } & {
1732
2068
  $status?: "loading" | "error" | undefined;
@@ -1738,8 +2074,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1738
2074
  style?: string | undefined;
1739
2075
  explode?: boolean | undefined;
1740
2076
  schema?: ({
1741
- summary?: string | undefined;
1742
2077
  description?: string | undefined;
2078
+ summary?: string | undefined;
1743
2079
  $ref: string;
1744
2080
  } & {
1745
2081
  $status?: "loading" | "error" | undefined;
@@ -1808,8 +2144,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1808
2144
  tags?: string[] | undefined;
1809
2145
  responses?: ({
1810
2146
  [x: string]: ({
1811
- summary?: string | undefined;
1812
2147
  description?: string | undefined;
2148
+ summary?: string | undefined;
1813
2149
  $ref: string;
1814
2150
  } & {
1815
2151
  $status?: "loading" | "error" | undefined;
@@ -1827,35 +2163,26 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1827
2163
  } & {
1828
2164
  examples?: {
1829
2165
  [x: string]: ({
1830
- summary?: string | undefined;
1831
2166
  description?: string | undefined;
1832
- value?: any;
1833
- externalValue?: string | undefined;
1834
- } & {
1835
- [x: `x-${string}`]: unknown;
1836
- }) | ({
1837
2167
  summary?: string | undefined;
1838
- description?: string | undefined;
1839
2168
  $ref: string;
1840
2169
  } & {
1841
2170
  $status?: "loading" | "error" | undefined;
1842
2171
  $global?: boolean | undefined;
1843
2172
  } & {
1844
2173
  [x: `x-${string}`]: unknown;
2174
+ }) | ({
2175
+ description?: string | undefined;
2176
+ summary?: string | undefined;
2177
+ value?: any;
2178
+ externalValue?: string | undefined;
2179
+ } & {
2180
+ [x: `x-${string}`]: unknown;
1845
2181
  });
1846
2182
  } | undefined;
1847
2183
  style?: string | undefined;
1848
2184
  explode?: boolean | undefined;
1849
2185
  schema?: ({
1850
- summary?: string | undefined;
1851
- description?: string | undefined;
1852
- $ref: string;
1853
- } & {
1854
- $status?: "loading" | "error" | undefined;
1855
- $global?: boolean | undefined;
1856
- } & {
1857
- [x: `x-${string}`]: unknown;
1858
- }) | ({
1859
2186
  discriminator?: ({
1860
2187
  mapping?: {
1861
2188
  [x: string]: string;
@@ -1887,6 +2214,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1887
2214
  'x-tags'?: string[] | undefined;
1888
2215
  } & {
1889
2216
  [x: string]: unknown;
2217
+ }) | ({
2218
+ description?: string | undefined;
2219
+ summary?: string | undefined;
2220
+ $ref: string;
2221
+ } & {
2222
+ $status?: "loading" | "error" | undefined;
2223
+ $global?: boolean | undefined;
2224
+ } & {
2225
+ [x: `x-${string}`]: unknown;
1890
2226
  }) | undefined;
1891
2227
  example: any;
1892
2228
  }) | ({
@@ -1901,21 +2237,21 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1901
2237
  example?: any;
1902
2238
  examples?: {
1903
2239
  [x: string]: ({
1904
- summary?: string | undefined;
1905
2240
  description?: string | undefined;
1906
- value?: any;
1907
- externalValue?: string | undefined;
1908
- } & {
1909
- [x: `x-${string}`]: unknown;
1910
- }) | ({
1911
2241
  summary?: string | undefined;
1912
- description?: string | undefined;
1913
2242
  $ref: string;
1914
2243
  } & {
1915
2244
  $status?: "loading" | "error" | undefined;
1916
2245
  $global?: boolean | undefined;
1917
2246
  } & {
1918
2247
  [x: `x-${string}`]: unknown;
2248
+ }) | ({
2249
+ description?: string | undefined;
2250
+ summary?: string | undefined;
2251
+ value?: any;
2252
+ externalValue?: string | undefined;
2253
+ } & {
2254
+ [x: `x-${string}`]: unknown;
1919
2255
  });
1920
2256
  } | undefined;
1921
2257
  schema?: ({
@@ -1964,35 +2300,26 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1964
2300
  } & {
1965
2301
  examples?: {
1966
2302
  [x: string]: ({
1967
- summary?: string | undefined;
1968
2303
  description?: string | undefined;
1969
- value?: any;
1970
- externalValue?: string | undefined;
1971
- } & {
1972
- [x: `x-${string}`]: unknown;
1973
- }) | ({
1974
2304
  summary?: string | undefined;
1975
- description?: string | undefined;
1976
2305
  $ref: string;
1977
2306
  } & {
1978
2307
  $status?: "loading" | "error" | undefined;
1979
2308
  $global?: boolean | undefined;
1980
2309
  } & {
1981
2310
  [x: `x-${string}`]: unknown;
2311
+ }) | ({
2312
+ description?: string | undefined;
2313
+ summary?: string | undefined;
2314
+ value?: any;
2315
+ externalValue?: string | undefined;
2316
+ } & {
2317
+ [x: `x-${string}`]: unknown;
1982
2318
  });
1983
2319
  } | undefined;
1984
2320
  style?: string | undefined;
1985
2321
  explode?: boolean | undefined;
1986
2322
  schema?: ({
1987
- summary?: string | undefined;
1988
- description?: string | undefined;
1989
- $ref: string;
1990
- } & {
1991
- $status?: "loading" | "error" | undefined;
1992
- $global?: boolean | undefined;
1993
- } & {
1994
- [x: `x-${string}`]: unknown;
1995
- }) | ({
1996
2323
  discriminator?: ({
1997
2324
  mapping?: {
1998
2325
  [x: string]: string;
@@ -2024,6 +2351,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2024
2351
  'x-tags'?: string[] | undefined;
2025
2352
  } & {
2026
2353
  [x: string]: unknown;
2354
+ }) | ({
2355
+ description?: string | undefined;
2356
+ summary?: string | undefined;
2357
+ $ref: string;
2358
+ } & {
2359
+ $status?: "loading" | "error" | undefined;
2360
+ $global?: boolean | undefined;
2361
+ } & {
2362
+ [x: `x-${string}`]: unknown;
2027
2363
  }) | undefined;
2028
2364
  example: any;
2029
2365
  }) | ({
@@ -2033,8 +2369,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2033
2369
  } & {
2034
2370
  [x: `x-${string}`]: unknown;
2035
2371
  } & any) | ({
2036
- summary?: string | undefined;
2037
2372
  description?: string | undefined;
2373
+ summary?: string | undefined;
2038
2374
  $ref: string;
2039
2375
  } & {
2040
2376
  $status?: "loading" | "error" | undefined;
@@ -2052,8 +2388,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2052
2388
  };
2053
2389
  } | undefined;
2054
2390
  }) | ({
2055
- summary?: string | undefined;
2056
2391
  description?: string | undefined;
2392
+ summary?: string | undefined;
2057
2393
  $ref: string;
2058
2394
  } & {
2059
2395
  $status?: "loading" | "error" | undefined;
@@ -2067,15 +2403,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2067
2403
  example?: any;
2068
2404
  examples?: {
2069
2405
  [x: string]: ({
2070
- summary?: string | undefined;
2071
2406
  description?: string | undefined;
2407
+ summary?: string | undefined;
2072
2408
  value?: any;
2073
2409
  externalValue?: string | undefined;
2074
2410
  } & {
2075
2411
  [x: `x-${string}`]: unknown;
2076
2412
  }) | ({
2077
- summary?: string | undefined;
2078
2413
  description?: string | undefined;
2414
+ summary?: string | undefined;
2079
2415
  $ref: string;
2080
2416
  } & {
2081
2417
  $status?: "loading" | "error" | undefined;
@@ -2122,8 +2458,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2122
2458
  contentType?: string | undefined;
2123
2459
  headers?: {
2124
2460
  [x: string]: ({
2125
- summary?: string | undefined;
2126
2461
  description?: string | undefined;
2462
+ summary?: string | undefined;
2127
2463
  $ref: string;
2128
2464
  } & {
2129
2465
  $status?: "loading" | "error" | undefined;
@@ -2139,15 +2475,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2139
2475
  } & {
2140
2476
  examples?: {
2141
2477
  [x: string]: ({
2142
- summary?: string | undefined;
2143
2478
  description?: string | undefined;
2479
+ summary?: string | undefined;
2144
2480
  value?: any;
2145
2481
  externalValue?: string | undefined;
2146
2482
  } & {
2147
2483
  [x: `x-${string}`]: unknown;
2148
2484
  }) | ({
2149
- summary?: string | undefined;
2150
2485
  description?: string | undefined;
2486
+ summary?: string | undefined;
2151
2487
  $ref: string;
2152
2488
  } & {
2153
2489
  $status?: "loading" | "error" | undefined;
@@ -2159,8 +2495,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2159
2495
  style?: string | undefined;
2160
2496
  explode?: boolean | undefined;
2161
2497
  schema?: ({
2162
- summary?: string | undefined;
2163
2498
  description?: string | undefined;
2499
+ summary?: string | undefined;
2164
2500
  $ref: string;
2165
2501
  } & {
2166
2502
  $status?: "loading" | "error" | undefined;
@@ -2225,8 +2561,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2225
2561
  } | undefined;
2226
2562
  links?: {
2227
2563
  [x: string]: ({
2228
- summary?: string | undefined;
2229
2564
  description?: string | undefined;
2565
+ summary?: string | undefined;
2230
2566
  $ref: string;
2231
2567
  } & {
2232
2568
  $status?: "loading" | "error" | undefined;
@@ -2289,8 +2625,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2289
2625
  })[] | undefined;
2290
2626
  callbacks?: {
2291
2627
  [x: string]: ({
2292
- summary?: string | undefined;
2293
2628
  description?: string | undefined;
2629
+ summary?: string | undefined;
2294
2630
  $ref: string;
2295
2631
  } & {
2296
2632
  $status?: "loading" | "error" | undefined;
@@ -2299,12 +2635,12 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2299
2635
  [x: `x-${string}`]: unknown;
2300
2636
  }) | ({
2301
2637
  [x: string]: {
2302
- summary?: string | undefined;
2303
2638
  description?: string | undefined;
2304
2639
  $ref?: string | undefined;
2640
+ summary?: string | undefined;
2305
2641
  parameters?: (({
2306
- summary?: string | undefined;
2307
2642
  description?: string | undefined;
2643
+ summary?: string | undefined;
2308
2644
  $ref: string;
2309
2645
  } & {
2310
2646
  $status?: "loading" | "error" | undefined;
@@ -2317,14 +2653,14 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2317
2653
  deprecated?: boolean | undefined;
2318
2654
  allowEmptyValue?: boolean | undefined;
2319
2655
  name: string;
2320
- in: "query" | "header" | "path" | "cookie";
2656
+ in: "path" | "query" | "header" | "cookie";
2321
2657
  } & {
2322
2658
  [x: `x-${string}`]: unknown;
2323
2659
  } & {
2324
2660
  examples?: {
2325
2661
  [x: string]: ({
2326
- summary?: string | undefined;
2327
2662
  description?: string | undefined;
2663
+ summary?: string | undefined;
2328
2664
  $ref: string;
2329
2665
  } & {
2330
2666
  $status?: "loading" | "error" | undefined;
@@ -2332,8 +2668,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2332
2668
  } & {
2333
2669
  [x: `x-${string}`]: unknown;
2334
2670
  }) | ({
2335
- summary?: string | undefined;
2336
2671
  description?: string | undefined;
2672
+ summary?: string | undefined;
2337
2673
  value?: any;
2338
2674
  externalValue?: string | undefined;
2339
2675
  } & {
@@ -2343,8 +2679,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2343
2679
  style?: string | undefined;
2344
2680
  explode?: boolean | undefined;
2345
2681
  schema?: ({
2346
- summary?: string | undefined;
2347
2682
  description?: string | undefined;
2683
+ summary?: string | undefined;
2348
2684
  $ref: string;
2349
2685
  } & {
2350
2686
  $status?: "loading" | "error" | undefined;
@@ -2391,7 +2727,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2391
2727
  deprecated?: boolean | undefined;
2392
2728
  allowEmptyValue?: boolean | undefined;
2393
2729
  name: string;
2394
- in: "query" | "header" | "path" | "cookie";
2730
+ in: "path" | "query" | "header" | "cookie";
2395
2731
  } & {
2396
2732
  [x: `x-${string}`]: unknown;
2397
2733
  } & {
@@ -2400,15 +2736,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2400
2736
  example?: any;
2401
2737
  examples?: {
2402
2738
  [x: string]: ({
2403
- summary?: string | undefined;
2404
2739
  description?: string | undefined;
2740
+ summary?: string | undefined;
2405
2741
  value?: any;
2406
2742
  externalValue?: string | undefined;
2407
2743
  } & {
2408
2744
  [x: `x-${string}`]: unknown;
2409
2745
  }) | ({
2410
- summary?: string | undefined;
2411
2746
  description?: string | undefined;
2747
+ summary?: string | undefined;
2412
2748
  $ref: string;
2413
2749
  } & {
2414
2750
  $status?: "loading" | "error" | undefined;
@@ -2455,8 +2791,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2455
2791
  contentType?: string | undefined;
2456
2792
  headers?: {
2457
2793
  [x: string]: ({
2458
- summary?: string | undefined;
2459
2794
  description?: string | undefined;
2795
+ summary?: string | undefined;
2460
2796
  $ref: string;
2461
2797
  } & {
2462
2798
  $status?: "loading" | "error" | undefined;
@@ -2472,15 +2808,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2472
2808
  } & {
2473
2809
  examples?: {
2474
2810
  [x: string]: ({
2475
- summary?: string | undefined;
2476
2811
  description?: string | undefined;
2812
+ summary?: string | undefined;
2477
2813
  value?: any;
2478
2814
  externalValue?: string | undefined;
2479
2815
  } & {
2480
2816
  [x: `x-${string}`]: unknown;
2481
2817
  }) | ({
2482
- summary?: string | undefined;
2483
2818
  description?: string | undefined;
2819
+ summary?: string | undefined;
2484
2820
  $ref: string;
2485
2821
  } & {
2486
2822
  $status?: "loading" | "error" | undefined;
@@ -2492,8 +2828,8 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2492
2828
  style?: string | undefined;
2493
2829
  explode?: boolean | undefined;
2494
2830
  schema?: ({
2495
- summary?: string | undefined;
2496
2831
  description?: string | undefined;
2832
+ summary?: string | undefined;
2497
2833
  $ref: string;
2498
2834
  } & {
2499
2835
  $status?: "loading" | "error" | undefined;
@@ -2573,10 +2909,40 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2573
2909
  [x: `x-${string}`]: unknown;
2574
2910
  })[] | undefined;
2575
2911
  get?: (any & {
2912
+ 'x-scalar-client-config-request-example'?: {
2913
+ [x: string]: {
2914
+ name?: string | undefined;
2915
+ parameters?: {
2916
+ path?: {
2917
+ [x: string]: string;
2918
+ } | undefined;
2919
+ query?: {
2920
+ [x: string]: string;
2921
+ } | undefined;
2922
+ header?: {
2923
+ [x: string]: string;
2924
+ } | undefined;
2925
+ cookie?: {
2926
+ [x: string]: string;
2927
+ } | undefined;
2928
+ } | undefined;
2929
+ body?: {
2930
+ file?: {
2931
+ base64?: string | undefined;
2932
+ url: string;
2933
+ } | null | undefined;
2934
+ content: string | {
2935
+ [x: string]: any;
2936
+ };
2937
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
2938
+ } | undefined;
2939
+ };
2940
+ } | undefined;
2941
+ } & {
2576
2942
  [x: `x-${string}`]: unknown;
2577
2943
  }) | ({
2578
- summary?: string | undefined;
2579
2944
  description?: string | undefined;
2945
+ summary?: string | undefined;
2580
2946
  $ref: string;
2581
2947
  } & {
2582
2948
  $status?: "loading" | "error" | undefined;
@@ -2585,10 +2951,40 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2585
2951
  [x: `x-${string}`]: unknown;
2586
2952
  }) | undefined;
2587
2953
  put?: (any & {
2954
+ 'x-scalar-client-config-request-example'?: {
2955
+ [x: string]: {
2956
+ name?: string | undefined;
2957
+ parameters?: {
2958
+ path?: {
2959
+ [x: string]: string;
2960
+ } | undefined;
2961
+ query?: {
2962
+ [x: string]: string;
2963
+ } | undefined;
2964
+ header?: {
2965
+ [x: string]: string;
2966
+ } | undefined;
2967
+ cookie?: {
2968
+ [x: string]: string;
2969
+ } | undefined;
2970
+ } | undefined;
2971
+ body?: {
2972
+ file?: {
2973
+ base64?: string | undefined;
2974
+ url: string;
2975
+ } | null | undefined;
2976
+ content: string | {
2977
+ [x: string]: any;
2978
+ };
2979
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
2980
+ } | undefined;
2981
+ };
2982
+ } | undefined;
2983
+ } & {
2588
2984
  [x: `x-${string}`]: unknown;
2589
2985
  }) | ({
2590
- summary?: string | undefined;
2591
2986
  description?: string | undefined;
2987
+ summary?: string | undefined;
2592
2988
  $ref: string;
2593
2989
  } & {
2594
2990
  $status?: "loading" | "error" | undefined;
@@ -2597,10 +2993,40 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2597
2993
  [x: `x-${string}`]: unknown;
2598
2994
  }) | undefined;
2599
2995
  post?: (any & {
2996
+ 'x-scalar-client-config-request-example'?: {
2997
+ [x: string]: {
2998
+ name?: string | undefined;
2999
+ parameters?: {
3000
+ path?: {
3001
+ [x: string]: string;
3002
+ } | undefined;
3003
+ query?: {
3004
+ [x: string]: string;
3005
+ } | undefined;
3006
+ header?: {
3007
+ [x: string]: string;
3008
+ } | undefined;
3009
+ cookie?: {
3010
+ [x: string]: string;
3011
+ } | undefined;
3012
+ } | undefined;
3013
+ body?: {
3014
+ file?: {
3015
+ base64?: string | undefined;
3016
+ url: string;
3017
+ } | null | undefined;
3018
+ content: string | {
3019
+ [x: string]: any;
3020
+ };
3021
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3022
+ } | undefined;
3023
+ };
3024
+ } | undefined;
3025
+ } & {
2600
3026
  [x: `x-${string}`]: unknown;
2601
3027
  }) | ({
2602
- summary?: string | undefined;
2603
3028
  description?: string | undefined;
3029
+ summary?: string | undefined;
2604
3030
  $ref: string;
2605
3031
  } & {
2606
3032
  $status?: "loading" | "error" | undefined;
@@ -2609,10 +3035,40 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2609
3035
  [x: `x-${string}`]: unknown;
2610
3036
  }) | undefined;
2611
3037
  delete?: (any & {
3038
+ 'x-scalar-client-config-request-example'?: {
3039
+ [x: string]: {
3040
+ name?: string | undefined;
3041
+ parameters?: {
3042
+ path?: {
3043
+ [x: string]: string;
3044
+ } | undefined;
3045
+ query?: {
3046
+ [x: string]: string;
3047
+ } | undefined;
3048
+ header?: {
3049
+ [x: string]: string;
3050
+ } | undefined;
3051
+ cookie?: {
3052
+ [x: string]: string;
3053
+ } | undefined;
3054
+ } | undefined;
3055
+ body?: {
3056
+ file?: {
3057
+ base64?: string | undefined;
3058
+ url: string;
3059
+ } | null | undefined;
3060
+ content: string | {
3061
+ [x: string]: any;
3062
+ };
3063
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3064
+ } | undefined;
3065
+ };
3066
+ } | undefined;
3067
+ } & {
2612
3068
  [x: `x-${string}`]: unknown;
2613
3069
  }) | ({
2614
- summary?: string | undefined;
2615
3070
  description?: string | undefined;
3071
+ summary?: string | undefined;
2616
3072
  $ref: string;
2617
3073
  } & {
2618
3074
  $status?: "loading" | "error" | undefined;
@@ -2621,10 +3077,124 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2621
3077
  [x: `x-${string}`]: unknown;
2622
3078
  }) | undefined;
2623
3079
  patch?: (any & {
3080
+ 'x-scalar-client-config-request-example'?: {
3081
+ [x: string]: {
3082
+ name?: string | undefined;
3083
+ parameters?: {
3084
+ path?: {
3085
+ [x: string]: string;
3086
+ } | undefined;
3087
+ query?: {
3088
+ [x: string]: string;
3089
+ } | undefined;
3090
+ header?: {
3091
+ [x: string]: string;
3092
+ } | undefined;
3093
+ cookie?: {
3094
+ [x: string]: string;
3095
+ } | undefined;
3096
+ } | undefined;
3097
+ body?: {
3098
+ file?: {
3099
+ base64?: string | undefined;
3100
+ url: string;
3101
+ } | null | undefined;
3102
+ content: string | {
3103
+ [x: string]: any;
3104
+ };
3105
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3106
+ } | undefined;
3107
+ };
3108
+ } | undefined;
3109
+ } & {
3110
+ [x: `x-${string}`]: unknown;
3111
+ }) | ({
3112
+ description?: string | undefined;
3113
+ summary?: string | undefined;
3114
+ $ref: string;
3115
+ } & {
3116
+ $status?: "loading" | "error" | undefined;
3117
+ $global?: boolean | undefined;
3118
+ } & {
3119
+ [x: `x-${string}`]: unknown;
3120
+ }) | undefined;
3121
+ connect?: (any & {
3122
+ 'x-scalar-client-config-request-example'?: {
3123
+ [x: string]: {
3124
+ name?: string | undefined;
3125
+ parameters?: {
3126
+ path?: {
3127
+ [x: string]: string;
3128
+ } | undefined;
3129
+ query?: {
3130
+ [x: string]: string;
3131
+ } | undefined;
3132
+ header?: {
3133
+ [x: string]: string;
3134
+ } | undefined;
3135
+ cookie?: {
3136
+ [x: string]: string;
3137
+ } | undefined;
3138
+ } | undefined;
3139
+ body?: {
3140
+ file?: {
3141
+ base64?: string | undefined;
3142
+ url: string;
3143
+ } | null | undefined;
3144
+ content: string | {
3145
+ [x: string]: any;
3146
+ };
3147
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3148
+ } | undefined;
3149
+ };
3150
+ } | undefined;
3151
+ } & {
2624
3152
  [x: `x-${string}`]: unknown;
2625
3153
  }) | ({
3154
+ description?: string | undefined;
2626
3155
  summary?: string | undefined;
3156
+ $ref: string;
3157
+ } & {
3158
+ $status?: "loading" | "error" | undefined;
3159
+ $global?: boolean | undefined;
3160
+ } & {
3161
+ [x: `x-${string}`]: unknown;
3162
+ }) | undefined;
3163
+ options?: (any & {
3164
+ 'x-scalar-client-config-request-example'?: {
3165
+ [x: string]: {
3166
+ name?: string | undefined;
3167
+ parameters?: {
3168
+ path?: {
3169
+ [x: string]: string;
3170
+ } | undefined;
3171
+ query?: {
3172
+ [x: string]: string;
3173
+ } | undefined;
3174
+ header?: {
3175
+ [x: string]: string;
3176
+ } | undefined;
3177
+ cookie?: {
3178
+ [x: string]: string;
3179
+ } | undefined;
3180
+ } | undefined;
3181
+ body?: {
3182
+ file?: {
3183
+ base64?: string | undefined;
3184
+ url: string;
3185
+ } | null | undefined;
3186
+ content: string | {
3187
+ [x: string]: any;
3188
+ };
3189
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3190
+ } | undefined;
3191
+ };
3192
+ } | undefined;
3193
+ } & {
3194
+ [x: `x-${string}`]: unknown;
3195
+ }) | ({
2627
3196
  description?: string | undefined;
3197
+ summary?: string | undefined;
2628
3198
  $ref: string;
2629
3199
  } & {
2630
3200
  $status?: "loading" | "error" | undefined;
@@ -2632,11 +3202,83 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2632
3202
  } & {
2633
3203
  [x: `x-${string}`]: unknown;
2634
3204
  }) | undefined;
2635
- trace?: (any & {
3205
+ head?: (any & {
3206
+ 'x-scalar-client-config-request-example'?: {
3207
+ [x: string]: {
3208
+ name?: string | undefined;
3209
+ parameters?: {
3210
+ path?: {
3211
+ [x: string]: string;
3212
+ } | undefined;
3213
+ query?: {
3214
+ [x: string]: string;
3215
+ } | undefined;
3216
+ header?: {
3217
+ [x: string]: string;
3218
+ } | undefined;
3219
+ cookie?: {
3220
+ [x: string]: string;
3221
+ } | undefined;
3222
+ } | undefined;
3223
+ body?: {
3224
+ file?: {
3225
+ base64?: string | undefined;
3226
+ url: string;
3227
+ } | null | undefined;
3228
+ content: string | {
3229
+ [x: string]: any;
3230
+ };
3231
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3232
+ } | undefined;
3233
+ };
3234
+ } | undefined;
3235
+ } & {
2636
3236
  [x: `x-${string}`]: unknown;
2637
3237
  }) | ({
3238
+ description?: string | undefined;
2638
3239
  summary?: string | undefined;
3240
+ $ref: string;
3241
+ } & {
3242
+ $status?: "loading" | "error" | undefined;
3243
+ $global?: boolean | undefined;
3244
+ } & {
3245
+ [x: `x-${string}`]: unknown;
3246
+ }) | undefined;
3247
+ trace?: (any & {
3248
+ 'x-scalar-client-config-request-example'?: {
3249
+ [x: string]: {
3250
+ name?: string | undefined;
3251
+ parameters?: {
3252
+ path?: {
3253
+ [x: string]: string;
3254
+ } | undefined;
3255
+ query?: {
3256
+ [x: string]: string;
3257
+ } | undefined;
3258
+ header?: {
3259
+ [x: string]: string;
3260
+ } | undefined;
3261
+ cookie?: {
3262
+ [x: string]: string;
3263
+ } | undefined;
3264
+ } | undefined;
3265
+ body?: {
3266
+ file?: {
3267
+ base64?: string | undefined;
3268
+ url: string;
3269
+ } | null | undefined;
3270
+ content: string | {
3271
+ [x: string]: any;
3272
+ };
3273
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3274
+ } | undefined;
3275
+ };
3276
+ } | undefined;
3277
+ } & {
3278
+ [x: `x-${string}`]: unknown;
3279
+ }) | ({
2639
3280
  description?: string | undefined;
3281
+ summary?: string | undefined;
2640
3282
  $ref: string;
2641
3283
  } & {
2642
3284
  $status?: "loading" | "error" | undefined;
@@ -2651,11 +3293,41 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2651
3293
  [x: `x-${string}`]: unknown;
2652
3294
  });
2653
3295
  } | undefined;
3296
+ } & {
3297
+ 'x-scalar-client-config-request-example'?: {
3298
+ [x: string]: {
3299
+ name?: string | undefined;
3300
+ parameters?: {
3301
+ path?: {
3302
+ [x: string]: string;
3303
+ } | undefined;
3304
+ query?: {
3305
+ [x: string]: string;
3306
+ } | undefined;
3307
+ header?: {
3308
+ [x: string]: string;
3309
+ } | undefined;
3310
+ cookie?: {
3311
+ [x: string]: string;
3312
+ } | undefined;
3313
+ } | undefined;
3314
+ body?: {
3315
+ file?: {
3316
+ base64?: string | undefined;
3317
+ url: string;
3318
+ } | null | undefined;
3319
+ content: string | {
3320
+ [x: string]: any;
3321
+ };
3322
+ encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
3323
+ } | undefined;
3324
+ };
3325
+ } | undefined;
2654
3326
  } & {
2655
3327
  [x: `x-${string}`]: unknown;
2656
3328
  }) | ({
2657
- summary?: string | undefined;
2658
3329
  description?: string | undefined;
3330
+ summary?: string | undefined;
2659
3331
  $ref: string;
2660
3332
  } & {
2661
3333
  $status?: "loading" | "error" | undefined;