@scalar/openapi-types 0.3.6 → 0.4.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 (167) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/helpers/is-dereferenced.d.ts.map +1 -1
  3. package/dist/schemas/3.1/processed/base-path-item-object.d.ts +41 -544
  4. package/dist/schemas/3.1/processed/base-path-item-object.d.ts.map +1 -1
  5. package/dist/schemas/3.1/processed/callback-object.d.ts +67 -67
  6. package/dist/schemas/3.1/processed/callback-object.d.ts.map +1 -1
  7. package/dist/schemas/3.1/processed/components-object.d.ts +2127 -12344
  8. package/dist/schemas/3.1/processed/components-object.d.ts.map +1 -1
  9. package/dist/schemas/3.1/processed/contact-object.d.ts +1 -12
  10. package/dist/schemas/3.1/processed/contact-object.d.ts.map +1 -1
  11. package/dist/schemas/3.1/processed/discriminator-object.d.ts +1 -15
  12. package/dist/schemas/3.1/processed/discriminator-object.d.ts.map +1 -1
  13. package/dist/schemas/3.1/processed/encoding-object.d.ts +16 -157
  14. package/dist/schemas/3.1/processed/encoding-object.d.ts.map +1 -1
  15. package/dist/schemas/3.1/processed/example-object.d.ts +1 -25
  16. package/dist/schemas/3.1/processed/example-object.d.ts.map +1 -1
  17. package/dist/schemas/3.1/processed/external-documentation-object.d.ts +1 -9
  18. package/dist/schemas/3.1/processed/external-documentation-object.d.ts.map +1 -1
  19. package/dist/schemas/3.1/processed/header-object.d.ts +15 -124
  20. package/dist/schemas/3.1/processed/header-object.d.ts.map +1 -1
  21. package/dist/schemas/3.1/processed/info-object.d.ts +3 -65
  22. package/dist/schemas/3.1/processed/info-object.d.ts.map +1 -1
  23. package/dist/schemas/3.1/processed/license-object.d.ts +1 -14
  24. package/dist/schemas/3.1/processed/license-object.d.ts.map +1 -1
  25. package/dist/schemas/3.1/processed/link-object.d.ts +6 -83
  26. package/dist/schemas/3.1/processed/link-object.d.ts.map +1 -1
  27. package/dist/schemas/3.1/processed/media-type-object-without-encoding.d.ts +3 -44
  28. package/dist/schemas/3.1/processed/media-type-object-without-encoding.d.ts.map +1 -1
  29. package/dist/schemas/3.1/processed/media-type-object.d.ts +19 -253
  30. package/dist/schemas/3.1/processed/media-type-object.d.ts.map +1 -1
  31. package/dist/schemas/3.1/processed/openapi-object.d.ts +4719 -27519
  32. package/dist/schemas/3.1/processed/openapi-object.d.ts.map +1 -1
  33. package/dist/schemas/3.1/processed/operation-object-without-callbacks.d.ts +118 -1929
  34. package/dist/schemas/3.1/processed/operation-object-without-callbacks.d.ts.map +1 -1
  35. package/dist/schemas/3.1/processed/parameter-object.d.ts +37 -424
  36. package/dist/schemas/3.1/processed/parameter-object.d.ts.map +1 -1
  37. package/dist/schemas/3.1/processed/path-item-object.d.ts +1738 -5818
  38. package/dist/schemas/3.1/processed/path-item-object.d.ts.map +1 -1
  39. package/dist/schemas/3.1/processed/paths-object.d.ts +1722 -5778
  40. package/dist/schemas/3.1/processed/paths-object.d.ts.map +1 -1
  41. package/dist/schemas/3.1/processed/request-body-object.d.ts +36 -536
  42. package/dist/schemas/3.1/processed/request-body-object.d.ts.map +1 -1
  43. package/dist/schemas/3.1/processed/response-object.d.ts +41 -567
  44. package/dist/schemas/3.1/processed/response-object.d.ts.map +1 -1
  45. package/dist/schemas/3.1/processed/responses-object.d.ts +41 -551
  46. package/dist/schemas/3.1/processed/responses-object.d.ts.map +1 -1
  47. package/dist/schemas/3.1/processed/runtime-expression.d.ts +1 -1
  48. package/dist/schemas/3.1/processed/runtime-expression.d.ts.map +1 -1
  49. package/dist/schemas/3.1/processed/runtime-expression.js +6 -6
  50. package/dist/schemas/3.1/processed/runtime-expression.js.map +2 -2
  51. package/dist/schemas/3.1/processed/schema-object.d.ts.map +1 -1
  52. package/dist/schemas/3.1/processed/schema-object.js +4 -1
  53. package/dist/schemas/3.1/processed/schema-object.js.map +2 -2
  54. package/dist/schemas/3.1/processed/security-requirement-object.d.ts +1 -1
  55. package/dist/schemas/3.1/processed/security-requirement-object.d.ts.map +1 -1
  56. package/dist/schemas/3.1/processed/security-scheme-object.d.ts +63 -715
  57. package/dist/schemas/3.1/processed/security-scheme-object.d.ts.map +1 -1
  58. package/dist/schemas/3.1/processed/server-object.d.ts +3 -37
  59. package/dist/schemas/3.1/processed/server-object.d.ts.map +1 -1
  60. package/dist/schemas/3.1/processed/server-variable-object.d.ts +2 -21
  61. package/dist/schemas/3.1/processed/server-variable-object.d.ts.map +1 -1
  62. package/dist/schemas/3.1/processed/tag-object.d.ts +2 -25
  63. package/dist/schemas/3.1/processed/tag-object.d.ts.map +1 -1
  64. package/dist/schemas/3.1/processed/webhooks-object.d.ts +66 -66
  65. package/dist/schemas/3.1/processed/webhooks-object.d.ts.map +1 -1
  66. package/dist/schemas/3.1/processed/xml-object.d.ts +1 -31
  67. package/dist/schemas/3.1/processed/xml-object.d.ts.map +1 -1
  68. package/dist/schemas/3.1/unprocessed/base-path-item-object.d.ts +54 -1745
  69. package/dist/schemas/3.1/unprocessed/base-path-item-object.d.ts.map +1 -1
  70. package/dist/schemas/3.1/unprocessed/callback-object.d.ts +83 -83
  71. package/dist/schemas/3.1/unprocessed/callback-object.d.ts.map +1 -1
  72. package/dist/schemas/3.1/unprocessed/components-object.d.ts +2823 -26982
  73. package/dist/schemas/3.1/unprocessed/components-object.d.ts.map +1 -1
  74. package/dist/schemas/3.1/unprocessed/contact-object.d.ts +1 -9
  75. package/dist/schemas/3.1/unprocessed/contact-object.d.ts.map +1 -1
  76. package/dist/schemas/3.1/unprocessed/discriminator-object.d.ts +1 -7
  77. package/dist/schemas/3.1/unprocessed/discriminator-object.d.ts.map +1 -1
  78. package/dist/schemas/3.1/unprocessed/encoding-object.d.ts +21 -365
  79. package/dist/schemas/3.1/unprocessed/encoding-object.d.ts.map +1 -1
  80. package/dist/schemas/3.1/unprocessed/example-object.d.ts +1 -11
  81. package/dist/schemas/3.1/unprocessed/example-object.d.ts.map +1 -1
  82. package/dist/schemas/3.1/unprocessed/external-documentation-object.d.ts +1 -7
  83. package/dist/schemas/3.1/unprocessed/external-documentation-object.d.ts.map +1 -1
  84. package/dist/schemas/3.1/unprocessed/header-object.d.ts +18 -179
  85. package/dist/schemas/3.1/unprocessed/header-object.d.ts.map +1 -1
  86. package/dist/schemas/3.1/unprocessed/info-object.d.ts +3 -43
  87. package/dist/schemas/3.1/unprocessed/info-object.d.ts.map +1 -1
  88. package/dist/schemas/3.1/unprocessed/license-object.d.ts +1 -9
  89. package/dist/schemas/3.1/unprocessed/license-object.d.ts.map +1 -1
  90. package/dist/schemas/3.1/unprocessed/link-object.d.ts +6 -60
  91. package/dist/schemas/3.1/unprocessed/link-object.d.ts.map +1 -1
  92. package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.d.ts +3 -31
  93. package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.d.ts.map +1 -1
  94. package/dist/schemas/3.1/unprocessed/media-type-object.d.ts +27 -688
  95. package/dist/schemas/3.1/unprocessed/media-type-object.d.ts.map +1 -1
  96. package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.d.ts +133 -3719
  97. package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.d.ts.map +1 -1
  98. package/dist/schemas/3.1/unprocessed/parameter-object.d.ts +48 -1129
  99. package/dist/schemas/3.1/unprocessed/parameter-object.d.ts.map +1 -1
  100. package/dist/schemas/3.1/unprocessed/path-item-object.d.ts +2052 -7728
  101. package/dist/schemas/3.1/unprocessed/path-item-object.d.ts.map +1 -1
  102. package/dist/schemas/3.1/unprocessed/paths-object.d.ts +2053 -7701
  103. package/dist/schemas/3.1/unprocessed/paths-object.d.ts.map +1 -1
  104. package/dist/schemas/3.1/unprocessed/reference-object.d.ts +1 -21
  105. package/dist/schemas/3.1/unprocessed/reference-object.d.ts.map +1 -1
  106. package/dist/schemas/3.1/unprocessed/request-body-object.d.ts +36 -522
  107. package/dist/schemas/3.1/unprocessed/request-body-object.d.ts.map +1 -1
  108. package/dist/schemas/3.1/unprocessed/response-object.d.ts +56 -1586
  109. package/dist/schemas/3.1/unprocessed/response-object.d.ts.map +1 -1
  110. package/dist/schemas/3.1/unprocessed/responses-object.d.ts +57 -1582
  111. package/dist/schemas/3.1/unprocessed/responses-object.d.ts.map +1 -1
  112. package/dist/schemas/3.1/unprocessed/runtime-expression.d.ts +1 -1
  113. package/dist/schemas/3.1/unprocessed/runtime-expression.d.ts.map +1 -1
  114. package/dist/schemas/3.1/unprocessed/schema-object.d.ts.map +1 -1
  115. package/dist/schemas/3.1/unprocessed/schema-object.js +4 -1
  116. package/dist/schemas/3.1/unprocessed/schema-object.js.map +2 -2
  117. package/dist/schemas/3.1/unprocessed/security-requirement-object.d.ts +1 -1
  118. package/dist/schemas/3.1/unprocessed/security-requirement-object.d.ts.map +1 -1
  119. package/dist/schemas/3.1/unprocessed/security-scheme-object.d.ts +63 -495
  120. package/dist/schemas/3.1/unprocessed/security-scheme-object.d.ts.map +1 -1
  121. package/dist/schemas/3.1/unprocessed/server-object.d.ts +3 -27
  122. package/dist/schemas/3.1/unprocessed/server-object.d.ts.map +1 -1
  123. package/dist/schemas/3.1/unprocessed/server-variable-object.d.ts +2 -10
  124. package/dist/schemas/3.1/unprocessed/server-variable-object.d.ts.map +1 -1
  125. package/dist/schemas/3.1/unprocessed/tag-object.d.ts +2 -22
  126. package/dist/schemas/3.1/unprocessed/tag-object.d.ts.map +1 -1
  127. package/dist/schemas/3.1/unprocessed/webhooks-object.d.ts +86 -86
  128. package/dist/schemas/3.1/unprocessed/webhooks-object.d.ts.map +1 -1
  129. package/dist/schemas/3.1/unprocessed/xml-object.d.ts +1 -13
  130. package/dist/schemas/3.1/unprocessed/xml-object.d.ts.map +1 -1
  131. package/dist/schemas/extensions/x-additional-properties-name.d.ts +1 -5
  132. package/dist/schemas/extensions/x-additional-properties-name.d.ts.map +1 -1
  133. package/dist/schemas/extensions/x-code-samples.d.ts +5 -57
  134. package/dist/schemas/extensions/x-code-samples.d.ts.map +1 -1
  135. package/dist/schemas/extensions/x-display-name.d.ts +1 -5
  136. package/dist/schemas/extensions/x-display-name.d.ts.map +1 -1
  137. package/dist/schemas/extensions/x-enum-descriptions.d.ts +1 -5
  138. package/dist/schemas/extensions/x-enum-descriptions.d.ts.map +1 -1
  139. package/dist/schemas/extensions/x-internal.d.ts +1 -5
  140. package/dist/schemas/extensions/x-internal.d.ts.map +1 -1
  141. package/dist/schemas/extensions/x-post-response.d.ts +1 -5
  142. package/dist/schemas/extensions/x-post-response.d.ts.map +1 -1
  143. package/dist/schemas/extensions/x-scalar-credentials-location.d.ts +21 -0
  144. package/dist/schemas/extensions/x-scalar-credentials-location.d.ts.map +1 -0
  145. package/dist/schemas/extensions/x-scalar-credentials-location.js +8 -0
  146. package/dist/schemas/extensions/x-scalar-credentials-location.js.map +7 -0
  147. package/dist/schemas/extensions/x-scalar-icon.d.ts +1 -5
  148. package/dist/schemas/extensions/x-scalar-icon.d.ts.map +1 -1
  149. package/dist/schemas/extensions/x-scalar-ignore.d.ts +1 -5
  150. package/dist/schemas/extensions/x-scalar-ignore.d.ts.map +1 -1
  151. package/dist/schemas/extensions/x-scalar-redirect-uri.d.ts +1 -5
  152. package/dist/schemas/extensions/x-scalar-redirect-uri.d.ts.map +1 -1
  153. package/dist/schemas/extensions/x-scalar-sdk-installation.d.ts +2 -18
  154. package/dist/schemas/extensions/x-scalar-sdk-installation.d.ts.map +1 -1
  155. package/dist/schemas/extensions/x-scalar-security-body.d.ts +1 -5
  156. package/dist/schemas/extensions/x-scalar-security-body.d.ts.map +1 -1
  157. package/dist/schemas/extensions/x-scalar-security-query.d.ts +1 -5
  158. package/dist/schemas/extensions/x-scalar-security-query.d.ts.map +1 -1
  159. package/dist/schemas/extensions/x-scalar-stability.d.ts +4 -6
  160. package/dist/schemas/extensions/x-scalar-stability.d.ts.map +1 -1
  161. package/dist/schemas/extensions/x-tag-groups.d.ts +4 -28
  162. package/dist/schemas/extensions/x-tag-groups.d.ts.map +1 -1
  163. package/dist/schemas/extensions/x-tokenName.d.ts +1 -5
  164. package/dist/schemas/extensions/x-tokenName.d.ts.map +1 -1
  165. package/dist/schemas/extensions/x-use-pkce.d.ts +6 -9
  166. package/dist/schemas/extensions/x-use-pkce.d.ts.map +1 -1
  167. package/package.json +3 -3
@@ -9,33 +9,9 @@ export declare const ServerObjectSchema: import("zod").ZodObject<{
9
9
  url: import("zod").ZodString;
10
10
  description: import("zod").ZodOptional<import("zod").ZodString>;
11
11
  variables: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
12
- enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
12
+ enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
13
13
  default: import("zod").ZodOptional<import("zod").ZodString>;
14
14
  description: import("zod").ZodOptional<import("zod").ZodString>;
15
- }, "strip", import("zod").ZodTypeAny, {
16
- description?: string | undefined;
17
- default?: string | undefined;
18
- enum?: string[] | undefined;
19
- }, {
20
- description?: string | undefined;
21
- default?: string | undefined;
22
- enum?: string[] | undefined;
23
- }>>>;
24
- }, "strip", import("zod").ZodTypeAny, {
25
- url: string;
26
- description?: string | undefined;
27
- variables?: Record<string, {
28
- description?: string | undefined;
29
- default?: string | undefined;
30
- enum?: string[] | undefined;
31
- }> | undefined;
32
- }, {
33
- url: string;
34
- description?: string | undefined;
35
- variables?: Record<string, {
36
- description?: string | undefined;
37
- default?: string | undefined;
38
- enum?: string[] | undefined;
39
- }> | undefined;
40
- }>;
15
+ }, import("zod/v4/core").$strip>>>;
16
+ }, import("zod/v4/core").$strip>;
41
17
  //# sourceMappingURL=server-object.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/server-object.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAA"}
1
+ {"version":3,"file":"server-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/server-object.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;gCAA6B,CAAA"}
@@ -6,16 +6,8 @@
6
6
  * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#server-variable-object
7
7
  */
8
8
  export declare const ServerVariableObjectSchema: import("zod").ZodObject<{
9
- enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
9
+ enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
10
10
  default: import("zod").ZodOptional<import("zod").ZodString>;
11
11
  description: import("zod").ZodOptional<import("zod").ZodString>;
12
- }, "strip", import("zod").ZodTypeAny, {
13
- description?: string | undefined;
14
- default?: string | undefined;
15
- enum?: string[] | undefined;
16
- }, {
17
- description?: string | undefined;
18
- default?: string | undefined;
19
- enum?: string[] | undefined;
20
- }>;
12
+ }, import("zod/v4/core").$strip>;
21
13
  //# sourceMappingURL=server-variable-object.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server-variable-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/server-variable-object.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAAqC,CAAA"}
1
+ {"version":3,"file":"server-variable-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/server-variable-object.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B;;;;gCAAqC,CAAA"}
@@ -12,26 +12,6 @@ export declare const TagObjectSchema: import("zod").ZodObject<{
12
12
  externalDocs: import("zod").ZodOptional<import("zod").ZodObject<{
13
13
  description: import("zod").ZodOptional<import("zod").ZodString>;
14
14
  url: import("zod").ZodString;
15
- }, "strip", import("zod").ZodTypeAny, {
16
- url: string;
17
- description?: string | undefined;
18
- }, {
19
- url: string;
20
- description?: string | undefined;
21
- }>>;
22
- }, "strip", import("zod").ZodTypeAny, {
23
- name: string;
24
- externalDocs?: {
25
- url: string;
26
- description?: string | undefined;
27
- } | undefined;
28
- description?: string | undefined;
29
- }, {
30
- name: string;
31
- externalDocs?: {
32
- url: string;
33
- description?: string | undefined;
34
- } | undefined;
35
- description?: unknown;
36
- }>;
15
+ }, import("zod/v4/core").$strip>>;
16
+ }, import("zod/v4/core").$strip>;
37
17
  //# sourceMappingURL=tag-object.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tag-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/tag-object.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA0B,CAAA"}
1
+ {"version":3,"file":"tag-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/tag-object.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;;;;gCAA0B,CAAA"}
@@ -13,93 +13,93 @@ import { z } from 'zod';
13
13
  * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#oas-webhooks
14
14
  */
15
15
  export declare const WebhooksObjectSchema: z.ZodRecord<z.ZodString, z.ZodType<{
16
+ summary?: string | undefined;
17
+ description?: string | undefined;
16
18
  servers?: {
17
19
  url: string;
18
20
  description?: string | undefined;
19
21
  variables?: Record<string, {
20
- description?: string | undefined;
21
- default?: string | undefined;
22
22
  enum?: string[] | undefined;
23
+ default?: string | undefined;
24
+ description?: string | undefined;
23
25
  }> | undefined;
24
26
  }[] | undefined;
25
- description?: string | undefined;
26
- summary?: string | undefined;
27
27
  parameters?: ({
28
28
  $ref: string;
29
- description?: string | undefined;
30
29
  summary?: string | undefined;
30
+ description?: string | undefined;
31
31
  } | {
32
32
  name: string;
33
33
  in: "path" | "query" | "header" | "cookie";
34
34
  description?: string | undefined;
35
+ required?: boolean | undefined;
35
36
  deprecated?: boolean | undefined;
37
+ allowEmptyValue?: boolean | undefined;
38
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
39
+ explode?: boolean | undefined;
40
+ allowReserved?: boolean | undefined;
41
+ schema?: Record<string, any> | undefined;
42
+ example?: any;
43
+ examples?: Record<string, {
44
+ summary?: string | undefined;
45
+ description?: string | undefined;
46
+ value?: any;
47
+ externalValue?: string | undefined;
48
+ } | {
49
+ $ref: string;
50
+ summary?: string | undefined;
51
+ description?: string | undefined;
52
+ }> | undefined;
36
53
  content?: Record<string, {
54
+ schema?: any;
37
55
  example?: any;
38
56
  examples?: Record<string, {
39
- description?: string | undefined;
40
57
  summary?: string | undefined;
58
+ description?: string | undefined;
41
59
  value?: any;
42
60
  externalValue?: string | undefined;
43
61
  } | {
44
62
  $ref: string;
45
- description?: string | undefined;
46
63
  summary?: string | undefined;
64
+ description?: string | undefined;
47
65
  }> | undefined;
48
- schema?: any;
49
66
  encoding?: Record<string, {
50
67
  contentType: string;
51
68
  headers?: Record<string, {
52
69
  $ref: string;
53
- description?: string | undefined;
54
70
  summary?: string | undefined;
71
+ description?: string | undefined;
55
72
  } | {
56
73
  description?: string | undefined;
57
- deprecated?: boolean | undefined;
58
- content?: Record<string, {
59
- example?: any;
60
- examples?: Record<string, {
61
- description?: string | undefined;
62
- summary?: string | undefined;
63
- value?: any;
64
- externalValue?: string | undefined;
65
- }> | undefined;
66
- schema?: Record<string, any> | undefined;
67
- }> | undefined;
68
74
  required?: boolean | undefined;
75
+ deprecated?: boolean | undefined;
76
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
77
+ explode?: boolean | undefined;
69
78
  example?: any;
79
+ schema?: any;
70
80
  examples?: Record<string, {
71
- description?: string | undefined;
72
81
  summary?: string | undefined;
82
+ description?: string | undefined;
73
83
  value?: any;
74
84
  externalValue?: string | undefined;
75
85
  } | {
76
86
  $ref: string;
77
- description?: string | undefined;
78
87
  summary?: string | undefined;
88
+ description?: string | undefined;
89
+ }> | undefined;
90
+ content?: Record<string, {
91
+ schema?: Record<string, any> | undefined;
92
+ example?: any;
93
+ examples?: Record<string, {
94
+ summary?: string | undefined;
95
+ description?: string | undefined;
96
+ value?: any;
97
+ externalValue?: string | undefined;
98
+ }> | undefined;
79
99
  }> | undefined;
80
- schema?: any;
81
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
82
- explode?: boolean | undefined;
83
100
  }> | undefined;
84
101
  }> | undefined;
85
102
  }> | undefined;
86
- required?: boolean | undefined;
87
- example?: any;
88
- examples?: Record<string, {
89
- description?: string | undefined;
90
- summary?: string | undefined;
91
- value?: any;
92
- externalValue?: string | undefined;
93
- } | {
94
- $ref: string;
95
- description?: string | undefined;
96
- summary?: string | undefined;
97
- }> | undefined;
98
- schema?: Record<string, any> | undefined;
99
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
100
- explode?: boolean | undefined;
101
- allowEmptyValue?: boolean | undefined;
102
- allowReserved?: boolean | undefined;
103
103
  })[] | undefined;
104
104
  } & {
105
105
  get?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
@@ -110,94 +110,94 @@ export declare const WebhooksObjectSchema: z.ZodRecord<z.ZodString, z.ZodType<{
110
110
  head?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
111
111
  patch?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
112
112
  trace?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
113
- }, z.ZodTypeDef, {
113
+ }, unknown, z.core.$ZodTypeInternals<{
114
+ summary?: string | undefined;
115
+ description?: string | undefined;
114
116
  servers?: {
115
117
  url: string;
116
118
  description?: string | undefined;
117
119
  variables?: Record<string, {
118
- description?: string | undefined;
119
- default?: string | undefined;
120
120
  enum?: string[] | undefined;
121
+ default?: string | undefined;
122
+ description?: string | undefined;
121
123
  }> | undefined;
122
124
  }[] | undefined;
123
- description?: string | undefined;
124
- summary?: string | undefined;
125
125
  parameters?: ({
126
126
  $ref: string;
127
- description?: string | undefined;
128
127
  summary?: string | undefined;
128
+ description?: string | undefined;
129
129
  } | {
130
130
  name: string;
131
131
  in: "path" | "query" | "header" | "cookie";
132
132
  description?: string | undefined;
133
+ required?: boolean | undefined;
133
134
  deprecated?: boolean | undefined;
135
+ allowEmptyValue?: boolean | undefined;
136
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
137
+ explode?: boolean | undefined;
138
+ allowReserved?: boolean | undefined;
139
+ schema?: Record<string, any> | undefined;
140
+ example?: any;
141
+ examples?: Record<string, {
142
+ summary?: string | undefined;
143
+ description?: string | undefined;
144
+ value?: any;
145
+ externalValue?: string | undefined;
146
+ } | {
147
+ $ref: string;
148
+ summary?: string | undefined;
149
+ description?: string | undefined;
150
+ }> | undefined;
134
151
  content?: Record<string, {
152
+ schema?: any;
135
153
  example?: any;
136
154
  examples?: Record<string, {
137
- description?: string | undefined;
138
155
  summary?: string | undefined;
156
+ description?: string | undefined;
139
157
  value?: any;
140
158
  externalValue?: string | undefined;
141
159
  } | {
142
160
  $ref: string;
143
- description?: string | undefined;
144
161
  summary?: string | undefined;
162
+ description?: string | undefined;
145
163
  }> | undefined;
146
- schema?: any;
147
164
  encoding?: Record<string, {
148
165
  contentType: string;
149
166
  headers?: Record<string, {
150
167
  $ref: string;
151
- description?: string | undefined;
152
168
  summary?: string | undefined;
169
+ description?: string | undefined;
153
170
  } | {
154
171
  description?: string | undefined;
155
- deprecated?: boolean | undefined;
156
- content?: Record<string, {
157
- example?: any;
158
- examples?: Record<string, {
159
- description?: string | undefined;
160
- summary?: string | undefined;
161
- value?: any;
162
- externalValue?: string | undefined;
163
- }> | undefined;
164
- schema?: Record<string, any> | undefined;
165
- }> | undefined;
166
172
  required?: boolean | undefined;
173
+ deprecated?: boolean | undefined;
174
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
175
+ explode?: boolean | undefined;
167
176
  example?: any;
177
+ schema?: any;
168
178
  examples?: Record<string, {
169
- description?: string | undefined;
170
179
  summary?: string | undefined;
180
+ description?: string | undefined;
171
181
  value?: any;
172
182
  externalValue?: string | undefined;
173
183
  } | {
174
184
  $ref: string;
175
- description?: string | undefined;
176
185
  summary?: string | undefined;
186
+ description?: string | undefined;
187
+ }> | undefined;
188
+ content?: Record<string, {
189
+ schema?: Record<string, any> | undefined;
190
+ example?: any;
191
+ examples?: Record<string, {
192
+ summary?: string | undefined;
193
+ description?: string | undefined;
194
+ value?: any;
195
+ externalValue?: string | undefined;
196
+ }> | undefined;
177
197
  }> | undefined;
178
- schema?: any;
179
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
180
- explode?: boolean | undefined;
181
198
  }> | undefined;
182
199
  }> | undefined;
183
200
  }> | undefined;
184
- required?: boolean | undefined;
185
- example?: any;
186
- examples?: Record<string, {
187
- description?: string | undefined;
188
- summary?: string | undefined;
189
- value?: any;
190
- externalValue?: string | undefined;
191
- } | {
192
- $ref: string;
193
- description?: string | undefined;
194
- summary?: string | undefined;
195
- }> | undefined;
196
- schema?: Record<string, any> | undefined;
197
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
198
- explode?: boolean | undefined;
199
- allowEmptyValue?: boolean | undefined;
200
- allowReserved?: boolean | undefined;
201
201
  })[] | undefined;
202
202
  } & {
203
203
  get?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
@@ -208,5 +208,5 @@ export declare const WebhooksObjectSchema: z.ZodRecord<z.ZodString, z.ZodType<{
208
208
  head?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
209
209
  patch?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
210
210
  trace?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
211
- }>>;
211
+ }, unknown>>>;
212
212
  //# sourceMappingURL=webhooks-object.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"webhooks-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/webhooks-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UATP,EAAG,KAAK;UAAsD,EAAG,KAAK;WAC/D,EAAG,KAAK;aAEW,EAAG,KAAK;cACb,EAAG,KAAK;WAAuD,EAC7G,KAAG;YAEK,EAAG,KAAK;YAAwD,EAAG,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAPpD,KAAK;YAAyD,KAAK;aAC5D,KAAK;eAEc,KAAK;gBACV,KAAK;aACtD,KAAG;cAEQ,KAAK;cAA2D,KAAK;GAEa,CAAA"}
1
+ {"version":3,"file":"webhooks-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/webhooks-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAA6D,CAAA"}
@@ -15,17 +15,5 @@ export declare const XmlObjectSchema: import("zod").ZodObject<{
15
15
  prefix: import("zod").ZodOptional<import("zod").ZodString>;
16
16
  attribute: import("zod").ZodOptional<import("zod").ZodBoolean>;
17
17
  wrapped: import("zod").ZodOptional<import("zod").ZodBoolean>;
18
- }, "strip", import("zod").ZodTypeAny, {
19
- name?: string | undefined;
20
- namespace?: string | undefined;
21
- prefix?: string | undefined;
22
- attribute?: boolean | undefined;
23
- wrapped?: boolean | undefined;
24
- }, {
25
- name?: string | undefined;
26
- namespace?: string | undefined;
27
- prefix?: string | undefined;
28
- attribute?: boolean | undefined;
29
- wrapped?: boolean | undefined;
30
- }>;
18
+ }, import("zod/v4/core").$strip>;
31
19
  //# sourceMappingURL=xml-object.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"xml-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/xml-object.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;EAA0B,CAAA"}
1
+ {"version":3,"file":"xml-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/unprocessed/xml-object.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe;;;;;;gCAA0B,CAAA"}
@@ -8,9 +8,5 @@ import { z } from 'zod';
8
8
  */
9
9
  export declare const XAdditionalPropertiesNameSchema: z.ZodObject<{
10
10
  'x-additionalPropertiesName': z.ZodCatch<z.ZodOptional<z.ZodString>>;
11
- }, "strip", z.ZodTypeAny, {
12
- 'x-additionalPropertiesName'?: string | undefined;
13
- }, {
14
- 'x-additionalPropertiesName'?: unknown;
15
- }>;
11
+ }, z.core.$strip>;
16
12
  //# sourceMappingURL=x-additional-properties-name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-additional-properties-name.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-additional-properties-name.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B;;;;;;EAE1C,CAAA"}
1
+ {"version":3,"file":"x-additional-properties-name.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-additional-properties-name.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B;;iBAE1C,CAAA"}
@@ -3,75 +3,23 @@ export declare const XCodeSampleSchema: z.ZodObject<{
3
3
  lang: z.ZodCatch<z.ZodOptional<z.ZodString>>;
4
4
  label: z.ZodCatch<z.ZodOptional<z.ZodString>>;
5
5
  source: z.ZodString;
6
- }, "strip", z.ZodTypeAny, {
7
- source: string;
8
- label?: string | undefined;
9
- lang?: string | undefined;
10
- }, {
11
- source: string;
12
- label?: unknown;
13
- lang?: unknown;
14
- }>;
6
+ }, z.core.$strip>;
15
7
  export declare const XCodeSamplesSchema: z.ZodObject<{
16
8
  'x-codeSamples': z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodObject<{
17
9
  lang: z.ZodCatch<z.ZodOptional<z.ZodString>>;
18
10
  label: z.ZodCatch<z.ZodOptional<z.ZodString>>;
19
11
  source: z.ZodString;
20
- }, "strip", z.ZodTypeAny, {
21
- source: string;
22
- label?: string | undefined;
23
- lang?: string | undefined;
24
- }, {
25
- source: string;
26
- label?: unknown;
27
- lang?: unknown;
28
- }>, "many">>>;
12
+ }, z.core.$strip>>>>;
29
13
  'x-code-samples': z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodObject<{
30
14
  lang: z.ZodCatch<z.ZodOptional<z.ZodString>>;
31
15
  label: z.ZodCatch<z.ZodOptional<z.ZodString>>;
32
16
  source: z.ZodString;
33
- }, "strip", z.ZodTypeAny, {
34
- source: string;
35
- label?: string | undefined;
36
- lang?: string | undefined;
37
- }, {
38
- source: string;
39
- label?: unknown;
40
- lang?: unknown;
41
- }>, "many">>>;
17
+ }, z.core.$strip>>>>;
42
18
  'x-custom-examples': z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodObject<{
43
19
  lang: z.ZodCatch<z.ZodOptional<z.ZodString>>;
44
20
  label: z.ZodCatch<z.ZodOptional<z.ZodString>>;
45
21
  source: z.ZodString;
46
- }, "strip", z.ZodTypeAny, {
47
- source: string;
48
- label?: string | undefined;
49
- lang?: string | undefined;
50
- }, {
51
- source: string;
52
- label?: unknown;
53
- lang?: unknown;
54
- }>, "many">>>;
55
- }, "strip", z.ZodTypeAny, {
56
- 'x-codeSamples'?: {
57
- source: string;
58
- label?: string | undefined;
59
- lang?: string | undefined;
60
- }[] | undefined;
61
- 'x-code-samples'?: {
62
- source: string;
63
- label?: string | undefined;
64
- lang?: string | undefined;
65
- }[] | undefined;
66
- 'x-custom-examples'?: {
67
- source: string;
68
- label?: string | undefined;
69
- lang?: string | undefined;
70
- }[] | undefined;
71
- }, {
72
- 'x-codeSamples'?: unknown;
73
- 'x-code-samples'?: unknown;
74
- 'x-custom-examples'?: unknown;
75
- }>;
22
+ }, z.core.$strip>>>>;
23
+ }, z.core.$strip>;
76
24
  export type XCodeSample = z.infer<typeof XCodeSampleSchema>;
77
25
  //# sourceMappingURL=x-code-samples.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-code-samples.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-code-samples.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI7B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
1
+ {"version":3,"file":"x-code-samples.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-code-samples.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,iBAAiB;;;;iBAI5B,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;iBAI7B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -9,9 +9,5 @@ import { z } from 'zod';
9
9
  */
10
10
  export declare const XDisplayNameSchema: z.ZodObject<{
11
11
  'x-displayName': z.ZodCatch<z.ZodOptional<z.ZodString>>;
12
- }, "strip", z.ZodTypeAny, {
13
- 'x-displayName'?: string | undefined;
14
- }, {
15
- 'x-displayName'?: unknown;
16
- }>;
12
+ }, z.core.$strip>;
17
13
  //# sourceMappingURL=x-display-name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-display-name.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-display-name.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAA"}
1
+ {"version":3,"file":"x-display-name.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-display-name.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB;;iBAE7B,CAAA"}
@@ -14,9 +14,5 @@ import { z } from 'zod';
14
14
  */
15
15
  export declare const XEnumDescriptionsSchema: z.ZodObject<{
16
16
  'x-enumDescriptions': z.ZodCatch<z.ZodRecord<z.ZodString, z.ZodString>>;
17
- }, "strip", z.ZodTypeAny, {
18
- 'x-enumDescriptions': Record<string, string>;
19
- }, {
20
- 'x-enumDescriptions'?: unknown;
21
- }>;
17
+ }, z.core.$strip>;
22
18
  //# sourceMappingURL=x-enum-descriptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-enum-descriptions.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-enum-descriptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAA"}
1
+ {"version":3,"file":"x-enum-descriptions.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-enum-descriptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,uBAAuB;;iBAElC,CAAA"}
@@ -1,9 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  export declare const XInternalSchema: z.ZodObject<{
3
3
  'x-internal': z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
4
- }, "strip", z.ZodTypeAny, {
5
- 'x-internal'?: boolean | undefined;
6
- }, {
7
- 'x-internal'?: unknown;
8
- }>;
4
+ }, z.core.$strip>;
9
5
  //# sourceMappingURL=x-internal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-internal.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,eAAe;;;;;;EAE1B,CAAA"}
1
+ {"version":3,"file":"x-internal.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,eAAe;;iBAE1B,CAAA"}
@@ -18,9 +18,5 @@ export declare const PostResponseSchema: z.ZodString;
18
18
  */
19
19
  export declare const XPostResponseSchema: z.ZodObject<{
20
20
  'x-post-response': z.ZodOptional<z.ZodString>;
21
- }, "strip", z.ZodTypeAny, {
22
- 'x-post-response'?: string | undefined;
23
- }, {
24
- 'x-post-response'?: string | undefined;
25
- }>;
21
+ }, z.core.$strip>;
26
22
  //# sourceMappingURL=x-post-response.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-post-response.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-post-response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,0BAA0B;AAC1B,eAAO,MAAM,kBAAkB,aAAa,CAAA;AAE5C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAA"}
1
+ {"version":3,"file":"x-post-response.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-post-response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,0BAA0B;AAC1B,eAAO,MAAM,kBAAkB,aAAa,CAAA;AAE5C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB;;iBAE9B,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * An OpenAPI extension to specify where OAuth2 credentials should be sent
4
+ *
5
+ * @example
6
+ * ```yaml
7
+ * x-scalar-credentials-location: header
8
+ * ```
9
+ *
10
+ * @example
11
+ * ```yaml
12
+ * x-scalar-credentials-location: body
13
+ * ```
14
+ */
15
+ export declare const XScalarCredentialsLocationSchema: z.ZodObject<{
16
+ 'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<{
17
+ header: "header";
18
+ body: "body";
19
+ }>>;
20
+ }, z.core.$strip>;
21
+ //# sourceMappingURL=x-scalar-credentials-location.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-scalar-credentials-location.d.ts","sourceRoot":"","sources":["../../../src/schemas/extensions/x-scalar-credentials-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gCAAgC;;;;;iBAE3C,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { z } from "zod";
2
+ const XScalarCredentialsLocationSchema = z.object({
3
+ "x-scalar-credentials-location": z.enum(["header", "body"]).optional()
4
+ });
5
+ export {
6
+ XScalarCredentialsLocationSchema
7
+ };
8
+ //# sourceMappingURL=x-scalar-credentials-location.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/schemas/extensions/x-scalar-credentials-location.ts"],
4
+ "sourcesContent": ["import { z } from 'zod'\n\n/**\n * An OpenAPI extension to specify where OAuth2 credentials should be sent\n *\n * @example\n * ```yaml\n * x-scalar-credentials-location: header\n * ```\n *\n * @example\n * ```yaml\n * x-scalar-credentials-location: body\n * ```\n */\nexport const XScalarCredentialsLocationSchema = z.object({\n 'x-scalar-credentials-location': z.enum(['header', 'body']).optional(),\n})\n"],
5
+ "mappings": "AAAA,SAAS,SAAS;AAeX,MAAM,mCAAmC,EAAE,OAAO;AAAA,EACvD,iCAAiC,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,EAAE,SAAS;AACvE,CAAC;",
6
+ "names": []
7
+ }
@@ -1,9 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  export declare const XScalarIconSchema: z.ZodObject<{
3
3
  'x-scalar-icon': z.ZodCatch<z.ZodOptional<z.ZodString>>;
4
- }, "strip", z.ZodTypeAny, {
5
- 'x-scalar-icon'?: string | undefined;
6
- }, {
7
- 'x-scalar-icon'?: unknown;
8
- }>;
4
+ }, z.core.$strip>;
9
5
  //# sourceMappingURL=x-scalar-icon.d.ts.map