@scalar/openapi-types 0.3.7 → 0.4.1

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 (168) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/helpers/is-dereferenced.d.ts.map +1 -1
  3. package/dist/openapi-types.d.ts +1 -1
  4. package/dist/openapi-types.d.ts.map +1 -1
  5. package/dist/openapi-types.js.map +1 -1
  6. package/dist/schemas/3.1/processed/base-path-item-object.d.ts +41 -544
  7. package/dist/schemas/3.1/processed/base-path-item-object.d.ts.map +1 -1
  8. package/dist/schemas/3.1/processed/callback-object.d.ts +67 -67
  9. package/dist/schemas/3.1/processed/callback-object.d.ts.map +1 -1
  10. package/dist/schemas/3.1/processed/components-object.d.ts +2127 -12344
  11. package/dist/schemas/3.1/processed/components-object.d.ts.map +1 -1
  12. package/dist/schemas/3.1/processed/contact-object.d.ts +1 -12
  13. package/dist/schemas/3.1/processed/contact-object.d.ts.map +1 -1
  14. package/dist/schemas/3.1/processed/discriminator-object.d.ts +1 -15
  15. package/dist/schemas/3.1/processed/discriminator-object.d.ts.map +1 -1
  16. package/dist/schemas/3.1/processed/encoding-object.d.ts +16 -157
  17. package/dist/schemas/3.1/processed/encoding-object.d.ts.map +1 -1
  18. package/dist/schemas/3.1/processed/example-object.d.ts +1 -25
  19. package/dist/schemas/3.1/processed/example-object.d.ts.map +1 -1
  20. package/dist/schemas/3.1/processed/external-documentation-object.d.ts +1 -9
  21. package/dist/schemas/3.1/processed/external-documentation-object.d.ts.map +1 -1
  22. package/dist/schemas/3.1/processed/header-object.d.ts +15 -124
  23. package/dist/schemas/3.1/processed/header-object.d.ts.map +1 -1
  24. package/dist/schemas/3.1/processed/info-object.d.ts +3 -65
  25. package/dist/schemas/3.1/processed/info-object.d.ts.map +1 -1
  26. package/dist/schemas/3.1/processed/license-object.d.ts +1 -14
  27. package/dist/schemas/3.1/processed/license-object.d.ts.map +1 -1
  28. package/dist/schemas/3.1/processed/link-object.d.ts +6 -83
  29. package/dist/schemas/3.1/processed/link-object.d.ts.map +1 -1
  30. package/dist/schemas/3.1/processed/media-type-object-without-encoding.d.ts +3 -44
  31. package/dist/schemas/3.1/processed/media-type-object-without-encoding.d.ts.map +1 -1
  32. package/dist/schemas/3.1/processed/media-type-object.d.ts +19 -253
  33. package/dist/schemas/3.1/processed/media-type-object.d.ts.map +1 -1
  34. package/dist/schemas/3.1/processed/openapi-object.d.ts +4719 -27519
  35. package/dist/schemas/3.1/processed/openapi-object.d.ts.map +1 -1
  36. package/dist/schemas/3.1/processed/operation-object-without-callbacks.d.ts +118 -1929
  37. package/dist/schemas/3.1/processed/operation-object-without-callbacks.d.ts.map +1 -1
  38. package/dist/schemas/3.1/processed/parameter-object.d.ts +37 -424
  39. package/dist/schemas/3.1/processed/parameter-object.d.ts.map +1 -1
  40. package/dist/schemas/3.1/processed/path-item-object.d.ts +1738 -5818
  41. package/dist/schemas/3.1/processed/path-item-object.d.ts.map +1 -1
  42. package/dist/schemas/3.1/processed/paths-object.d.ts +1722 -5778
  43. package/dist/schemas/3.1/processed/paths-object.d.ts.map +1 -1
  44. package/dist/schemas/3.1/processed/request-body-object.d.ts +36 -536
  45. package/dist/schemas/3.1/processed/request-body-object.d.ts.map +1 -1
  46. package/dist/schemas/3.1/processed/response-object.d.ts +41 -567
  47. package/dist/schemas/3.1/processed/response-object.d.ts.map +1 -1
  48. package/dist/schemas/3.1/processed/responses-object.d.ts +41 -551
  49. package/dist/schemas/3.1/processed/responses-object.d.ts.map +1 -1
  50. package/dist/schemas/3.1/processed/runtime-expression.d.ts +1 -1
  51. package/dist/schemas/3.1/processed/runtime-expression.d.ts.map +1 -1
  52. package/dist/schemas/3.1/processed/runtime-expression.js +3 -3
  53. package/dist/schemas/3.1/processed/runtime-expression.js.map +2 -2
  54. package/dist/schemas/3.1/processed/schema-object.d.ts.map +1 -1
  55. package/dist/schemas/3.1/processed/schema-object.js +4 -1
  56. package/dist/schemas/3.1/processed/schema-object.js.map +2 -2
  57. package/dist/schemas/3.1/processed/security-requirement-object.d.ts +1 -1
  58. package/dist/schemas/3.1/processed/security-requirement-object.d.ts.map +1 -1
  59. package/dist/schemas/3.1/processed/security-scheme-object.d.ts +63 -715
  60. package/dist/schemas/3.1/processed/security-scheme-object.d.ts.map +1 -1
  61. package/dist/schemas/3.1/processed/server-object.d.ts +3 -37
  62. package/dist/schemas/3.1/processed/server-object.d.ts.map +1 -1
  63. package/dist/schemas/3.1/processed/server-variable-object.d.ts +2 -21
  64. package/dist/schemas/3.1/processed/server-variable-object.d.ts.map +1 -1
  65. package/dist/schemas/3.1/processed/tag-object.d.ts +2 -25
  66. package/dist/schemas/3.1/processed/tag-object.d.ts.map +1 -1
  67. package/dist/schemas/3.1/processed/webhooks-object.d.ts +66 -66
  68. package/dist/schemas/3.1/processed/webhooks-object.d.ts.map +1 -1
  69. package/dist/schemas/3.1/processed/xml-object.d.ts +1 -31
  70. package/dist/schemas/3.1/processed/xml-object.d.ts.map +1 -1
  71. package/dist/schemas/3.1/unprocessed/base-path-item-object.d.ts +54 -1745
  72. package/dist/schemas/3.1/unprocessed/base-path-item-object.d.ts.map +1 -1
  73. package/dist/schemas/3.1/unprocessed/callback-object.d.ts +83 -83
  74. package/dist/schemas/3.1/unprocessed/callback-object.d.ts.map +1 -1
  75. package/dist/schemas/3.1/unprocessed/components-object.d.ts +2823 -26982
  76. package/dist/schemas/3.1/unprocessed/components-object.d.ts.map +1 -1
  77. package/dist/schemas/3.1/unprocessed/contact-object.d.ts +1 -9
  78. package/dist/schemas/3.1/unprocessed/contact-object.d.ts.map +1 -1
  79. package/dist/schemas/3.1/unprocessed/discriminator-object.d.ts +1 -7
  80. package/dist/schemas/3.1/unprocessed/discriminator-object.d.ts.map +1 -1
  81. package/dist/schemas/3.1/unprocessed/encoding-object.d.ts +21 -365
  82. package/dist/schemas/3.1/unprocessed/encoding-object.d.ts.map +1 -1
  83. package/dist/schemas/3.1/unprocessed/example-object.d.ts +1 -11
  84. package/dist/schemas/3.1/unprocessed/example-object.d.ts.map +1 -1
  85. package/dist/schemas/3.1/unprocessed/external-documentation-object.d.ts +1 -7
  86. package/dist/schemas/3.1/unprocessed/external-documentation-object.d.ts.map +1 -1
  87. package/dist/schemas/3.1/unprocessed/header-object.d.ts +18 -179
  88. package/dist/schemas/3.1/unprocessed/header-object.d.ts.map +1 -1
  89. package/dist/schemas/3.1/unprocessed/info-object.d.ts +3 -43
  90. package/dist/schemas/3.1/unprocessed/info-object.d.ts.map +1 -1
  91. package/dist/schemas/3.1/unprocessed/license-object.d.ts +1 -9
  92. package/dist/schemas/3.1/unprocessed/license-object.d.ts.map +1 -1
  93. package/dist/schemas/3.1/unprocessed/link-object.d.ts +6 -60
  94. package/dist/schemas/3.1/unprocessed/link-object.d.ts.map +1 -1
  95. package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.d.ts +3 -31
  96. package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.d.ts.map +1 -1
  97. package/dist/schemas/3.1/unprocessed/media-type-object.d.ts +27 -688
  98. package/dist/schemas/3.1/unprocessed/media-type-object.d.ts.map +1 -1
  99. package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.d.ts +133 -3719
  100. package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.d.ts.map +1 -1
  101. package/dist/schemas/3.1/unprocessed/parameter-object.d.ts +48 -1129
  102. package/dist/schemas/3.1/unprocessed/parameter-object.d.ts.map +1 -1
  103. package/dist/schemas/3.1/unprocessed/path-item-object.d.ts +2052 -7728
  104. package/dist/schemas/3.1/unprocessed/path-item-object.d.ts.map +1 -1
  105. package/dist/schemas/3.1/unprocessed/paths-object.d.ts +2053 -7701
  106. package/dist/schemas/3.1/unprocessed/paths-object.d.ts.map +1 -1
  107. package/dist/schemas/3.1/unprocessed/reference-object.d.ts +1 -21
  108. package/dist/schemas/3.1/unprocessed/reference-object.d.ts.map +1 -1
  109. package/dist/schemas/3.1/unprocessed/request-body-object.d.ts +36 -522
  110. package/dist/schemas/3.1/unprocessed/request-body-object.d.ts.map +1 -1
  111. package/dist/schemas/3.1/unprocessed/response-object.d.ts +56 -1586
  112. package/dist/schemas/3.1/unprocessed/response-object.d.ts.map +1 -1
  113. package/dist/schemas/3.1/unprocessed/responses-object.d.ts +57 -1582
  114. package/dist/schemas/3.1/unprocessed/responses-object.d.ts.map +1 -1
  115. package/dist/schemas/3.1/unprocessed/runtime-expression.d.ts +1 -1
  116. package/dist/schemas/3.1/unprocessed/runtime-expression.d.ts.map +1 -1
  117. package/dist/schemas/3.1/unprocessed/schema-object.d.ts.map +1 -1
  118. package/dist/schemas/3.1/unprocessed/schema-object.js +4 -1
  119. package/dist/schemas/3.1/unprocessed/schema-object.js.map +2 -2
  120. package/dist/schemas/3.1/unprocessed/security-requirement-object.d.ts +1 -1
  121. package/dist/schemas/3.1/unprocessed/security-requirement-object.d.ts.map +1 -1
  122. package/dist/schemas/3.1/unprocessed/security-scheme-object.d.ts +63 -495
  123. package/dist/schemas/3.1/unprocessed/security-scheme-object.d.ts.map +1 -1
  124. package/dist/schemas/3.1/unprocessed/server-object.d.ts +3 -27
  125. package/dist/schemas/3.1/unprocessed/server-object.d.ts.map +1 -1
  126. package/dist/schemas/3.1/unprocessed/server-variable-object.d.ts +2 -10
  127. package/dist/schemas/3.1/unprocessed/server-variable-object.d.ts.map +1 -1
  128. package/dist/schemas/3.1/unprocessed/tag-object.d.ts +2 -22
  129. package/dist/schemas/3.1/unprocessed/tag-object.d.ts.map +1 -1
  130. package/dist/schemas/3.1/unprocessed/webhooks-object.d.ts +86 -86
  131. package/dist/schemas/3.1/unprocessed/webhooks-object.d.ts.map +1 -1
  132. package/dist/schemas/3.1/unprocessed/xml-object.d.ts +1 -13
  133. package/dist/schemas/3.1/unprocessed/xml-object.d.ts.map +1 -1
  134. package/dist/schemas/extensions/x-additional-properties-name.d.ts +1 -5
  135. package/dist/schemas/extensions/x-additional-properties-name.d.ts.map +1 -1
  136. package/dist/schemas/extensions/x-code-samples.d.ts +5 -57
  137. package/dist/schemas/extensions/x-code-samples.d.ts.map +1 -1
  138. package/dist/schemas/extensions/x-display-name.d.ts +1 -5
  139. package/dist/schemas/extensions/x-display-name.d.ts.map +1 -1
  140. package/dist/schemas/extensions/x-enum-descriptions.d.ts +1 -5
  141. package/dist/schemas/extensions/x-enum-descriptions.d.ts.map +1 -1
  142. package/dist/schemas/extensions/x-internal.d.ts +1 -5
  143. package/dist/schemas/extensions/x-internal.d.ts.map +1 -1
  144. package/dist/schemas/extensions/x-post-response.d.ts +1 -5
  145. package/dist/schemas/extensions/x-post-response.d.ts.map +1 -1
  146. package/dist/schemas/extensions/x-scalar-credentials-location.d.ts +5 -6
  147. package/dist/schemas/extensions/x-scalar-credentials-location.d.ts.map +1 -1
  148. package/dist/schemas/extensions/x-scalar-icon.d.ts +1 -5
  149. package/dist/schemas/extensions/x-scalar-icon.d.ts.map +1 -1
  150. package/dist/schemas/extensions/x-scalar-ignore.d.ts +1 -5
  151. package/dist/schemas/extensions/x-scalar-ignore.d.ts.map +1 -1
  152. package/dist/schemas/extensions/x-scalar-redirect-uri.d.ts +1 -5
  153. package/dist/schemas/extensions/x-scalar-redirect-uri.d.ts.map +1 -1
  154. package/dist/schemas/extensions/x-scalar-sdk-installation.d.ts +2 -18
  155. package/dist/schemas/extensions/x-scalar-sdk-installation.d.ts.map +1 -1
  156. package/dist/schemas/extensions/x-scalar-security-body.d.ts +1 -5
  157. package/dist/schemas/extensions/x-scalar-security-body.d.ts.map +1 -1
  158. package/dist/schemas/extensions/x-scalar-security-query.d.ts +1 -5
  159. package/dist/schemas/extensions/x-scalar-security-query.d.ts.map +1 -1
  160. package/dist/schemas/extensions/x-scalar-stability.d.ts +4 -6
  161. package/dist/schemas/extensions/x-scalar-stability.d.ts.map +1 -1
  162. package/dist/schemas/extensions/x-tag-groups.d.ts +4 -28
  163. package/dist/schemas/extensions/x-tag-groups.d.ts.map +1 -1
  164. package/dist/schemas/extensions/x-tokenName.d.ts +1 -5
  165. package/dist/schemas/extensions/x-tokenName.d.ts.map +1 -1
  166. package/dist/schemas/extensions/x-use-pkce.d.ts +6 -9
  167. package/dist/schemas/extensions/x-use-pkce.d.ts.map +1 -1
  168. package/package.json +3 -3
@@ -6,723 +6,62 @@ import { z } from 'zod';
6
6
  *
7
7
  * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#media-type-object
8
8
  */
9
- export declare const MediaTypeObjectSchema: z.ZodObject<z.objectUtil.extendShape<{
10
- schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
9
+ export declare const MediaTypeObjectSchema: z.ZodObject<{
10
+ schema: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
11
11
  example: z.ZodOptional<z.ZodAny>;
12
- examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13
- summary: z.ZodOptional<z.ZodString>;
14
- description: z.ZodOptional<z.ZodString>;
15
- value: z.ZodOptional<z.ZodAny>;
16
- externalValue: z.ZodOptional<z.ZodString>;
17
- }, "strip", z.ZodTypeAny, {
18
- description?: string | undefined;
19
- summary?: string | undefined;
20
- value?: any;
21
- externalValue?: string | undefined;
22
- }, {
23
- description?: string | undefined;
24
- summary?: string | undefined;
25
- value?: any;
26
- externalValue?: string | undefined;
27
- }>>>;
28
- encoding: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
29
- contentType: z.ZodString;
30
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31
- description: z.ZodOptional<z.ZodString>;
32
- required: z.ZodOptional<z.ZodBoolean>;
33
- deprecated: z.ZodOptional<z.ZodBoolean>;
34
- style: z.ZodOptional<z.ZodEnum<["matrix", "label", "simple", "form", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
35
- explode: z.ZodOptional<z.ZodBoolean>;
36
- schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
37
- example: z.ZodOptional<z.ZodAny>;
38
- examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
39
- summary: z.ZodOptional<z.ZodString>;
40
- description: z.ZodOptional<z.ZodString>;
41
- value: z.ZodOptional<z.ZodAny>;
42
- externalValue: z.ZodOptional<z.ZodString>;
43
- }, "strip", z.ZodTypeAny, {
44
- description?: string | undefined;
45
- summary?: string | undefined;
46
- value?: any;
47
- externalValue?: string | undefined;
48
- }, {
49
- description?: string | undefined;
50
- summary?: string | undefined;
51
- value?: any;
52
- externalValue?: string | undefined;
53
- }>>>;
54
- content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
55
- schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
56
- example: z.ZodOptional<z.ZodAny>;
57
- examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
58
- summary: z.ZodOptional<z.ZodString>;
59
- description: z.ZodOptional<z.ZodString>;
60
- value: z.ZodOptional<z.ZodAny>;
61
- externalValue: z.ZodOptional<z.ZodString>;
62
- }, "strip", z.ZodTypeAny, {
63
- description?: string | undefined;
64
- summary?: string | undefined;
65
- value?: any;
66
- externalValue?: string | undefined;
67
- }, {
68
- description?: string | undefined;
69
- summary?: string | undefined;
70
- value?: any;
71
- externalValue?: string | undefined;
72
- }>>>;
73
- }, "strip", z.ZodTypeAny, {
74
- example?: any;
75
- examples?: Record<string, {
76
- description?: string | undefined;
77
- summary?: string | undefined;
78
- value?: any;
79
- externalValue?: string | undefined;
80
- }> | undefined;
81
- schema?: Record<string, any> | undefined;
82
- }, {
83
- example?: any;
84
- examples?: Record<string, {
85
- description?: string | undefined;
86
- summary?: string | undefined;
87
- value?: any;
88
- externalValue?: string | undefined;
89
- }> | undefined;
90
- schema?: Record<string, any> | undefined;
91
- }>>>;
92
- }, "strip", z.ZodTypeAny, {
93
- description?: string | undefined;
94
- deprecated?: boolean | undefined;
95
- content?: Record<string, {
96
- example?: any;
97
- examples?: Record<string, {
98
- description?: string | undefined;
99
- summary?: string | undefined;
100
- value?: any;
101
- externalValue?: string | undefined;
102
- }> | undefined;
103
- schema?: Record<string, any> | undefined;
104
- }> | undefined;
105
- required?: boolean | undefined;
106
- example?: any;
107
- examples?: Record<string, {
108
- description?: string | undefined;
109
- summary?: string | undefined;
110
- value?: any;
111
- externalValue?: string | undefined;
112
- }> | undefined;
113
- schema?: Record<string, any> | undefined;
114
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
115
- explode?: boolean | undefined;
116
- }, {
117
- description?: string | undefined;
118
- deprecated?: boolean | undefined;
119
- content?: Record<string, {
120
- example?: any;
121
- examples?: Record<string, {
122
- description?: string | undefined;
123
- summary?: string | undefined;
124
- value?: any;
125
- externalValue?: string | undefined;
126
- }> | undefined;
127
- schema?: Record<string, any> | undefined;
128
- }> | undefined;
129
- required?: boolean | undefined;
130
- example?: any;
131
- examples?: Record<string, {
132
- description?: string | undefined;
133
- summary?: string | undefined;
134
- value?: any;
135
- externalValue?: string | undefined;
136
- }> | undefined;
137
- schema?: Record<string, any> | undefined;
138
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
139
- explode?: boolean | undefined;
140
- }>>>;
141
- }, "strip", z.ZodTypeAny, {
142
- contentType: string;
143
- headers?: Record<string, {
144
- description?: string | undefined;
145
- deprecated?: boolean | undefined;
146
- content?: Record<string, {
147
- example?: any;
148
- examples?: Record<string, {
149
- description?: string | undefined;
150
- summary?: string | undefined;
151
- value?: any;
152
- externalValue?: string | undefined;
153
- }> | undefined;
154
- schema?: Record<string, any> | undefined;
155
- }> | undefined;
156
- required?: boolean | undefined;
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
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
166
- explode?: boolean | undefined;
167
- }> | undefined;
168
- }, {
169
- contentType: string;
170
- headers?: Record<string, {
171
- description?: string | undefined;
172
- deprecated?: boolean | undefined;
173
- content?: Record<string, {
174
- example?: any;
175
- examples?: Record<string, {
176
- description?: string | undefined;
177
- summary?: string | undefined;
178
- value?: any;
179
- externalValue?: string | undefined;
180
- }> | undefined;
181
- schema?: Record<string, any> | undefined;
182
- }> | undefined;
183
- required?: boolean | undefined;
184
- example?: any;
185
- examples?: Record<string, {
186
- description?: string | undefined;
187
- summary?: string | undefined;
188
- value?: any;
189
- externalValue?: string | undefined;
190
- }> | undefined;
191
- schema?: Record<string, any> | undefined;
192
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
193
- explode?: boolean | undefined;
194
- }> | undefined;
195
- }>>>;
196
- }, {
197
- /**
198
- * The schema defining the content of the request, response, or parameter.
199
- */
200
- schema: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
201
- /**
202
- * Example of the media type. The example object SHOULD be in the correct format as specified by the media type.
203
- * The example field is mutually exclusive of the examples field. Furthermore, if referencing a schema which contains
204
- * an example, the example value SHALL override the example provided by the schema.
205
- */
206
- example: z.ZodOptional<z.ZodAny>;
207
- /**
208
- * Examples of the media type. Each example object SHOULD match the media type and specified schema if present.
209
- * The examples field is mutually exclusive of the example field. Furthermore, if referencing a schema which contains
210
- * an example, the examples value SHALL override the example provided by the schema.
211
- */
212
- examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
12
+ examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
213
13
  $ref: z.ZodString;
214
14
  summary: z.ZodOptional<z.ZodString>;
215
15
  description: z.ZodOptional<z.ZodString>;
216
- }, "strip", z.ZodTypeAny, {
217
- $ref: string;
218
- description?: string | undefined;
219
- summary?: string | undefined;
220
- }, {
221
- $ref: string;
222
- description?: string | undefined;
223
- summary?: string | undefined;
224
- }>, z.ZodObject<{
16
+ }, z.core.$strip>, z.ZodObject<{
225
17
  summary: z.ZodOptional<z.ZodString>;
226
18
  description: z.ZodOptional<z.ZodString>;
227
19
  value: z.ZodOptional<z.ZodAny>;
228
20
  externalValue: z.ZodOptional<z.ZodString>;
229
- }, "strip", z.ZodTypeAny, {
230
- description?: string | undefined;
231
- summary?: string | undefined;
232
- value?: any;
233
- externalValue?: string | undefined;
234
- }, {
235
- description?: string | undefined;
236
- summary?: string | undefined;
237
- value?: any;
238
- externalValue?: string | undefined;
239
- }>]>>>;
240
- /**
241
- * A map between a property name and its encoding information. The key, being the property name, MUST exist in the
242
- * schema as a property. The encoding object SHALL only apply to requestBody objects when the media type is
243
- * multipart or application/x-www-form-urlencoded.
244
- */
245
- encoding: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
21
+ }, z.core.$strip>]>>>;
22
+ encoding: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
246
23
  contentType: z.ZodString;
247
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
248
- description: z.ZodOptional<z.ZodString>;
249
- required: z.ZodOptional<z.ZodBoolean>;
250
- deprecated: z.ZodOptional<z.ZodBoolean>;
251
- style: z.ZodOptional<z.ZodEnum<["matrix", "label", "simple", "form", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
252
- explode: z.ZodOptional<z.ZodBoolean>;
253
- schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
254
- example: z.ZodOptional<z.ZodAny>;
255
- examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
256
- summary: z.ZodOptional<z.ZodString>;
257
- description: z.ZodOptional<z.ZodString>;
258
- value: z.ZodOptional<z.ZodAny>;
259
- externalValue: z.ZodOptional<z.ZodString>;
260
- }, "strip", z.ZodTypeAny, {
261
- description?: string | undefined;
262
- summary?: string | undefined;
263
- value?: any;
264
- externalValue?: string | undefined;
265
- }, {
266
- description?: string | undefined;
267
- summary?: string | undefined;
268
- value?: any;
269
- externalValue?: string | undefined;
270
- }>>>;
271
- content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
272
- schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
273
- example: z.ZodOptional<z.ZodAny>;
274
- examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
275
- summary: z.ZodOptional<z.ZodString>;
276
- description: z.ZodOptional<z.ZodString>;
277
- value: z.ZodOptional<z.ZodAny>;
278
- externalValue: z.ZodOptional<z.ZodString>;
279
- }, "strip", z.ZodTypeAny, {
280
- description?: string | undefined;
281
- summary?: string | undefined;
282
- value?: any;
283
- externalValue?: string | undefined;
284
- }, {
285
- description?: string | undefined;
286
- summary?: string | undefined;
287
- value?: any;
288
- externalValue?: string | undefined;
289
- }>>>;
290
- }, "strip", z.ZodTypeAny, {
291
- example?: any;
292
- examples?: Record<string, {
293
- description?: string | undefined;
294
- summary?: string | undefined;
295
- value?: any;
296
- externalValue?: string | undefined;
297
- }> | undefined;
298
- schema?: Record<string, any> | undefined;
299
- }, {
300
- example?: any;
301
- examples?: Record<string, {
302
- description?: string | undefined;
303
- summary?: string | undefined;
304
- value?: any;
305
- externalValue?: string | undefined;
306
- }> | undefined;
307
- schema?: Record<string, any> | undefined;
308
- }>>>;
309
- }, "strip", z.ZodTypeAny, {
310
- description?: string | undefined;
311
- deprecated?: boolean | undefined;
312
- content?: Record<string, {
313
- example?: any;
314
- examples?: Record<string, {
315
- description?: string | undefined;
316
- summary?: string | undefined;
317
- value?: any;
318
- externalValue?: string | undefined;
319
- }> | undefined;
320
- schema?: Record<string, any> | undefined;
321
- }> | undefined;
322
- required?: boolean | undefined;
323
- example?: any;
324
- examples?: Record<string, {
325
- description?: string | undefined;
326
- summary?: string | undefined;
327
- value?: any;
328
- externalValue?: string | undefined;
329
- }> | undefined;
330
- schema?: Record<string, any> | undefined;
331
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
332
- explode?: boolean | undefined;
333
- }, {
334
- description?: string | undefined;
335
- deprecated?: boolean | undefined;
336
- content?: Record<string, {
337
- example?: any;
338
- examples?: Record<string, {
339
- description?: string | undefined;
340
- summary?: string | undefined;
341
- value?: any;
342
- externalValue?: string | undefined;
343
- }> | undefined;
344
- schema?: Record<string, any> | undefined;
345
- }> | undefined;
346
- required?: boolean | undefined;
347
- example?: any;
348
- examples?: Record<string, {
349
- description?: string | undefined;
350
- summary?: string | undefined;
351
- value?: any;
352
- externalValue?: string | undefined;
353
- }> | undefined;
354
- schema?: Record<string, any> | undefined;
355
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
356
- explode?: boolean | undefined;
357
- }>>>;
358
- }, {
359
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
24
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
360
25
  $ref: z.ZodString;
361
26
  summary: z.ZodOptional<z.ZodString>;
362
27
  description: z.ZodOptional<z.ZodString>;
363
- }, "strip", z.ZodTypeAny, {
364
- $ref: string;
365
- description?: string | undefined;
366
- summary?: string | undefined;
367
- }, {
368
- $ref: string;
369
- description?: string | undefined;
370
- summary?: string | undefined;
371
- }>, z.ZodObject<z.objectUtil.extendShape<{
28
+ }, z.core.$strip>, z.ZodObject<{
372
29
  description: z.ZodOptional<z.ZodString>;
373
30
  required: z.ZodOptional<z.ZodBoolean>;
374
31
  deprecated: z.ZodOptional<z.ZodBoolean>;
375
- style: z.ZodOptional<z.ZodEnum<["matrix", "label", "simple", "form", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
32
+ style: z.ZodOptional<z.ZodEnum<{
33
+ matrix: "matrix";
34
+ label: "label";
35
+ simple: "simple";
36
+ form: "form";
37
+ spaceDelimited: "spaceDelimited";
38
+ pipeDelimited: "pipeDelimited";
39
+ deepObject: "deepObject";
40
+ }>>;
376
41
  explode: z.ZodOptional<z.ZodBoolean>;
377
- schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
378
42
  example: z.ZodOptional<z.ZodAny>;
379
- examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
380
- summary: z.ZodOptional<z.ZodString>;
381
- description: z.ZodOptional<z.ZodString>;
382
- value: z.ZodOptional<z.ZodAny>;
383
- externalValue: z.ZodOptional<z.ZodString>;
384
- }, "strip", z.ZodTypeAny, {
385
- description?: string | undefined;
386
- summary?: string | undefined;
387
- value?: any;
388
- externalValue?: string | undefined;
389
- }, {
390
- description?: string | undefined;
391
- summary?: string | undefined;
392
- value?: any;
393
- externalValue?: string | undefined;
394
- }>>>;
395
- content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
396
- schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
397
- example: z.ZodOptional<z.ZodAny>;
398
- examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
399
- summary: z.ZodOptional<z.ZodString>;
400
- description: z.ZodOptional<z.ZodString>;
401
- value: z.ZodOptional<z.ZodAny>;
402
- externalValue: z.ZodOptional<z.ZodString>;
403
- }, "strip", z.ZodTypeAny, {
404
- description?: string | undefined;
405
- summary?: string | undefined;
406
- value?: any;
407
- externalValue?: string | undefined;
408
- }, {
409
- description?: string | undefined;
410
- summary?: string | undefined;
411
- value?: any;
412
- externalValue?: string | undefined;
413
- }>>>;
414
- }, "strip", z.ZodTypeAny, {
415
- example?: any;
416
- examples?: Record<string, {
417
- description?: string | undefined;
418
- summary?: string | undefined;
419
- value?: any;
420
- externalValue?: string | undefined;
421
- }> | undefined;
422
- schema?: Record<string, any> | undefined;
423
- }, {
424
- example?: any;
425
- examples?: Record<string, {
426
- description?: string | undefined;
427
- summary?: string | undefined;
428
- value?: any;
429
- externalValue?: string | undefined;
430
- }> | undefined;
431
- schema?: Record<string, any> | undefined;
432
- }>>>;
433
- }, {
434
- schema: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
435
- examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
43
+ schema: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
44
+ examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
436
45
  $ref: z.ZodString;
437
46
  summary: z.ZodOptional<z.ZodString>;
438
47
  description: z.ZodOptional<z.ZodString>;
439
- }, "strip", z.ZodTypeAny, {
440
- $ref: string;
441
- description?: string | undefined;
442
- summary?: string | undefined;
443
- }, {
444
- $ref: string;
445
- description?: string | undefined;
446
- summary?: string | undefined;
447
- }>, z.ZodObject<{
48
+ }, z.core.$strip>, z.ZodObject<{
448
49
  summary: z.ZodOptional<z.ZodString>;
449
50
  description: z.ZodOptional<z.ZodString>;
450
51
  value: z.ZodOptional<z.ZodAny>;
451
52
  externalValue: z.ZodOptional<z.ZodString>;
452
- }, "strip", z.ZodTypeAny, {
453
- description?: string | undefined;
454
- summary?: string | undefined;
455
- value?: any;
456
- externalValue?: string | undefined;
457
- }, {
458
- description?: string | undefined;
459
- summary?: string | undefined;
460
- value?: any;
461
- externalValue?: string | undefined;
462
- }>]>>>;
53
+ }, z.core.$strip>]>>>;
463
54
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
464
- schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
55
+ schema: z.ZodOptional<z.ZodType<Record<string, any>, unknown, z.core.$ZodTypeInternals<Record<string, any>, unknown>>>;
465
56
  example: z.ZodOptional<z.ZodAny>;
466
57
  examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
467
58
  summary: z.ZodOptional<z.ZodString>;
468
59
  description: z.ZodOptional<z.ZodString>;
469
60
  value: z.ZodOptional<z.ZodAny>;
470
61
  externalValue: z.ZodOptional<z.ZodString>;
471
- }, "strip", z.ZodTypeAny, {
472
- description?: string | undefined;
473
- summary?: string | undefined;
474
- value?: any;
475
- externalValue?: string | undefined;
476
- }, {
477
- description?: string | undefined;
478
- summary?: string | undefined;
479
- value?: any;
480
- externalValue?: string | undefined;
481
- }>>>;
482
- }, "strip", z.ZodTypeAny, {
483
- example?: any;
484
- examples?: Record<string, {
485
- description?: string | undefined;
486
- summary?: string | undefined;
487
- value?: any;
488
- externalValue?: string | undefined;
489
- }> | undefined;
490
- schema?: Record<string, any> | undefined;
491
- }, {
492
- example?: any;
493
- examples?: Record<string, {
494
- description?: string | undefined;
495
- summary?: string | undefined;
496
- value?: any;
497
- externalValue?: string | undefined;
498
- }> | undefined;
499
- schema?: Record<string, any> | undefined;
500
- }>>>;
501
- }>, "strip", z.ZodTypeAny, {
502
- description?: string | undefined;
503
- deprecated?: boolean | undefined;
504
- content?: Record<string, {
505
- example?: any;
506
- examples?: Record<string, {
507
- description?: string | undefined;
508
- summary?: string | undefined;
509
- value?: any;
510
- externalValue?: string | undefined;
511
- }> | undefined;
512
- schema?: Record<string, any> | undefined;
513
- }> | undefined;
514
- required?: boolean | undefined;
515
- example?: any;
516
- examples?: Record<string, {
517
- description?: string | undefined;
518
- summary?: string | undefined;
519
- value?: any;
520
- externalValue?: string | undefined;
521
- } | {
522
- $ref: string;
523
- description?: string | undefined;
524
- summary?: string | undefined;
525
- }> | undefined;
526
- schema?: any;
527
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
528
- explode?: boolean | undefined;
529
- }, {
530
- description?: string | undefined;
531
- deprecated?: boolean | undefined;
532
- content?: Record<string, {
533
- example?: any;
534
- examples?: Record<string, {
535
- description?: string | undefined;
536
- summary?: string | undefined;
537
- value?: any;
538
- externalValue?: string | undefined;
539
- }> | undefined;
540
- schema?: Record<string, any> | undefined;
541
- }> | undefined;
542
- required?: boolean | undefined;
543
- example?: any;
544
- examples?: Record<string, {
545
- description?: string | undefined;
546
- summary?: string | undefined;
547
- value?: any;
548
- externalValue?: string | undefined;
549
- } | {
550
- $ref: string;
551
- description?: string | undefined;
552
- summary?: string | undefined;
553
- }> | undefined;
554
- schema?: any;
555
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
556
- explode?: boolean | undefined;
557
- }>]>>>;
558
- }>, "strip", z.ZodTypeAny, {
559
- contentType: string;
560
- headers?: Record<string, {
561
- $ref: string;
562
- description?: string | undefined;
563
- summary?: string | undefined;
564
- } | {
565
- description?: string | undefined;
566
- deprecated?: boolean | undefined;
567
- content?: Record<string, {
568
- example?: any;
569
- examples?: Record<string, {
570
- description?: string | undefined;
571
- summary?: string | undefined;
572
- value?: any;
573
- externalValue?: string | undefined;
574
- }> | undefined;
575
- schema?: Record<string, any> | undefined;
576
- }> | undefined;
577
- required?: boolean | undefined;
578
- example?: any;
579
- examples?: Record<string, {
580
- description?: string | undefined;
581
- summary?: string | undefined;
582
- value?: any;
583
- externalValue?: string | undefined;
584
- } | {
585
- $ref: string;
586
- description?: string | undefined;
587
- summary?: string | undefined;
588
- }> | undefined;
589
- schema?: any;
590
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
591
- explode?: boolean | undefined;
592
- }> | undefined;
593
- }, {
594
- contentType: string;
595
- headers?: Record<string, {
596
- $ref: string;
597
- description?: string | undefined;
598
- summary?: string | undefined;
599
- } | {
600
- description?: string | undefined;
601
- deprecated?: boolean | undefined;
602
- content?: Record<string, {
603
- example?: any;
604
- examples?: Record<string, {
605
- description?: string | undefined;
606
- summary?: string | undefined;
607
- value?: any;
608
- externalValue?: string | undefined;
609
- }> | undefined;
610
- schema?: Record<string, any> | undefined;
611
- }> | undefined;
612
- required?: boolean | undefined;
613
- example?: any;
614
- examples?: Record<string, {
615
- description?: string | undefined;
616
- summary?: string | undefined;
617
- value?: any;
618
- externalValue?: string | undefined;
619
- } | {
620
- $ref: string;
621
- description?: string | undefined;
622
- summary?: string | undefined;
623
- }> | undefined;
624
- schema?: any;
625
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
626
- explode?: boolean | undefined;
627
- }> | undefined;
628
- }>>>;
629
- }>, "strip", z.ZodTypeAny, {
630
- example?: any;
631
- examples?: Record<string, {
632
- description?: string | undefined;
633
- summary?: string | undefined;
634
- value?: any;
635
- externalValue?: string | undefined;
636
- } | {
637
- $ref: string;
638
- description?: string | undefined;
639
- summary?: string | undefined;
640
- }> | undefined;
641
- schema?: any;
642
- encoding?: Record<string, {
643
- contentType: string;
644
- headers?: Record<string, {
645
- $ref: string;
646
- description?: string | undefined;
647
- summary?: string | undefined;
648
- } | {
649
- description?: string | undefined;
650
- deprecated?: boolean | undefined;
651
- content?: Record<string, {
652
- example?: any;
653
- examples?: Record<string, {
654
- description?: string | undefined;
655
- summary?: string | undefined;
656
- value?: any;
657
- externalValue?: string | undefined;
658
- }> | undefined;
659
- schema?: Record<string, any> | undefined;
660
- }> | undefined;
661
- required?: boolean | undefined;
662
- example?: any;
663
- examples?: Record<string, {
664
- description?: string | undefined;
665
- summary?: string | undefined;
666
- value?: any;
667
- externalValue?: string | undefined;
668
- } | {
669
- $ref: string;
670
- description?: string | undefined;
671
- summary?: string | undefined;
672
- }> | undefined;
673
- schema?: any;
674
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
675
- explode?: boolean | undefined;
676
- }> | undefined;
677
- }> | undefined;
678
- }, {
679
- example?: any;
680
- examples?: Record<string, {
681
- description?: string | undefined;
682
- summary?: string | undefined;
683
- value?: any;
684
- externalValue?: string | undefined;
685
- } | {
686
- $ref: string;
687
- description?: string | undefined;
688
- summary?: string | undefined;
689
- }> | undefined;
690
- schema?: any;
691
- encoding?: Record<string, {
692
- contentType: string;
693
- headers?: Record<string, {
694
- $ref: string;
695
- description?: string | undefined;
696
- summary?: string | undefined;
697
- } | {
698
- description?: string | undefined;
699
- deprecated?: boolean | undefined;
700
- content?: Record<string, {
701
- example?: any;
702
- examples?: Record<string, {
703
- description?: string | undefined;
704
- summary?: string | undefined;
705
- value?: any;
706
- externalValue?: string | undefined;
707
- }> | undefined;
708
- schema?: Record<string, any> | undefined;
709
- }> | undefined;
710
- required?: boolean | undefined;
711
- example?: any;
712
- examples?: Record<string, {
713
- description?: string | undefined;
714
- summary?: string | undefined;
715
- value?: any;
716
- externalValue?: string | undefined;
717
- } | {
718
- $ref: string;
719
- description?: string | undefined;
720
- summary?: string | undefined;
721
- }> | undefined;
722
- schema?: any;
723
- style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
724
- explode?: boolean | undefined;
725
- }> | undefined;
726
- }> | undefined;
727
- }>;
62
+ }, z.core.$strip>>>;
63
+ }, z.core.$strip>>>;
64
+ }, z.core.$strip>]>>>;
65
+ }, z.core.$strip>>>;
66
+ }, z.core.$strip>;
728
67
  //# sourceMappingURL=media-type-object.d.ts.map