@@ -11,14 +11,14 @@ export type NullConst = null;
1111exports [` const values 2` ] = `
1212"import * as v from "valibot";
1313
14- export const exactStringConstSchema = v.literal("hello");
15- export const stringConstSchema = exactStringConstSchema ;
16- export const exactNumberConstSchema = v.literal(42);
17- export const numberConstSchema = exactNumberConstSchema ;
18- export const exactBooleanConstSchema = v.literal(true);
19- export const booleanConstSchema = exactBooleanConstSchema ;
20- export const exactNullConstSchema = v.null();
21- export const nullConstSchema = exactNullConstSchema ;
14+ export const inputStringConstSchema = v.literal("hello");
15+ export const stringConstSchema = inputStringConstSchema ;
16+ export const inputNumberConstSchema = v.literal(42);
17+ export const numberConstSchema = inputNumberConstSchema ;
18+ export const inputBooleanConstSchema = v.literal(true);
19+ export const booleanConstSchema = inputBooleanConstSchema ;
20+ export const inputNullConstSchema = v.null();
21+ export const nullConstSchema = inputNullConstSchema ;
2222"
2323` ;
2424
@@ -77,25 +77,25 @@ export class UploadDataCommand extends commands.UploadDataCommand {
7777exports [` header parameters 4` ] = `
7878"import * as v from "valibot";
7979
80- export const exactUploadStatusSchema = v.picklist(["pending", "complete"]);
81- export const uploadStatusSchema = exactUploadStatusSchema ;
82- export const exactUploadDataCommandResponseSchema = exactUploadStatusSchema ;
80+ export const inputUploadStatusSchema = v.picklist(["pending", "complete"]);
81+ export const uploadStatusSchema = inputUploadStatusSchema ;
82+ export const inputUploadDataCommandResponseSchema = inputUploadStatusSchema ;
8383export const uploadDataCommandResponseSchema = uploadStatusSchema;
84- export const exactUploadDataCommandParamsSchema = v.strictObject({
84+ export const inputUploadDataCommandParamsSchema = v.strictObject({
8585 " uploadId" : v .string ()
8686 } );
8787export const uploadDataCommandParamsSchema = v.strictObject({
8888 " uploadId" : v .pipe (v .string (), v .trim ())
8989 } );
90- export const exactUploadDataCommandHeaderSchema = v.object({
90+ export const inputUploadDataCommandHeaderSchema = v.object({
9191 " content-type" : v .picklist ([" application/json" , " text/csv" , " application/xml" ]),
9292 " content-length" : v .bigint (),
93- " x-idempotency-key" : v .exactOptional (v .pipe (v .string (), v .uuid ()))
93+ " x-idempotency-key" : v .optional (v .pipe (v .string (), v .uuid ()))
9494 } );
9595export const uploadDataCommandHeaderSchema = v.object({
9696 " content-type" : v .picklist ([" application/json" , " text/csv" , " application/xml" ]),
9797 " content-length" : v .union ([v .pipe (v .string (), v .decimal (), v .toBigint (), v .bigint ()), v .pipe (v .number (), v .integer (), v .toBigint (), v .bigint ()), v .bigint ()]),
98- " x-idempotency-key" : v .optional (v .pipe (v .string (), v .uuid ()))
98+ " x-idempotency-key" : v .exactOptional (v .pipe (v .string (), v .uuid ()))
9999 } );
100100"
101101` ;
@@ -131,7 +131,7 @@ exports[`nullables 1`] = `
131131exports [` oneOf with type null generates v.null() 1` ] = `
132132"import * as v from "valibot";
133133
134- export const exactNullableImageSchema = v.union([v.string(), v.null()]);
134+ export const inputNullableImageSchema = v.union([v.string(), v.null()]);
135135export const nullableImageSchema = v.union([v.pipe(v.string(), v.trim()), v.null()]);
136136"
137137` ;
@@ -153,21 +153,21 @@ export type ListFilesCommandInput = ListFilesCommandQuery;
153153exports [` query and header integer params coerce strings to numbers 2` ] = `
154154"import * as v from "valibot";
155155
156- export const exactDummySchema = v.string();
156+ export const inputDummySchema = v.string();
157157export const dummySchema = v.pipe(v.string(), v.trim());
158- export const exactExpireTimeSchema = v.pipe(v.bigint(), v.minValue(BigInt(0)));
158+ export const inputExpireTimeSchema = v.pipe(v.bigint(), v.minValue(BigInt(0)));
159159export const expireTimeSchema = v.union([v.pipe(v.string(), v.decimal(), v.toBigint(), v.pipe(v.bigint(), v.minValue(BigInt(0)))), v.pipe(v.number(), v.integer(), v.toBigint(), v.pipe(v.bigint(), v.minValue(BigInt(0)))), v.pipe(v.bigint(), v.minValue(BigInt(0)))]);
160- export const exactListFilesCommandResponseSchema = exactDummySchema ;
160+ export const inputListFilesCommandResponseSchema = inputDummySchema ;
161161export const listFilesCommandResponseSchema = dummySchema;
162- export const exactListFilesCommandQuerySchema = v.strictObject({
162+ export const inputListFilesCommandQuerySchema = v.strictObject({
163163 " exp" : v .pipe (v .bigint (), v .minValue (BigInt (0 ))),
164- " limit" : v .exactOptional (v .pipe (v .number (), v .integer (), v .minValue (1 ), v .maxValue (100 )))
164+ " limit" : v .optional (v .pipe (v .number (), v .integer (), v .minValue (1 ), v .maxValue (100 )))
165165 } );
166166export const listFilesCommandQuerySchema = v.strictObject({
167167 " exp" : v .union ([v .pipe (v .string (), v .decimal (), v .toBigint (), v .pipe (v .bigint (), v .minValue (BigInt (0 )))), v .pipe (v .number (), v .integer (), v .toBigint (), v .pipe (v .bigint (), v .minValue (BigInt (0 )))), v .pipe (v .bigint (), v .minValue (BigInt (0 )))]),
168- " limit" : v .optional (v .union ([v .pipe (v .string (), v .decimal (), v .toNumber (), v .pipe (v .number (), v .integer (), v .minValue (1 ), v .maxValue (100 ))), v .pipe (v .number (), v .integer (), v .minValue (1 ), v .maxValue (100 ))]))
168+ " limit" : v .exactOptional (v .union ([v .pipe (v .string (), v .decimal (), v .toNumber (), v .pipe (v .number (), v .integer (), v .minValue (1 ), v .maxValue (100 ))), v .pipe (v .number (), v .integer (), v .minValue (1 ), v .maxValue (100 ))]))
169169 } );
170- export const exactListFilesCommandHeaderSchema = v.object({
170+ export const inputListFilesCommandHeaderSchema = v.object({
171171 " x-rate-limit" : v .pipe (v .number (), v .integer (), v .minValue (0 ))
172172 } );
173173export const listFilesCommandHeaderSchema = v.object({
@@ -187,14 +187,14 @@ export type MultiType = string | number;
187187exports [` top-level type array with null 2` ] = `
188188"import * as v from "valibot";
189189
190- export const exactNullableStringSchema = v.nullable(v.string());
191- export const nullableStringSchema = exactNullableStringSchema ;
192- export const exactNullableStringEnumSchema = v.nullable(v.picklist(["active", "inactive"]));
193- export const nullableStringEnumSchema = exactNullableStringEnumSchema ;
194- export const exactNullableIntegerSchema = v.nullable(v.pipe(v.number(), v.integer()));
195- export const nullableIntegerSchema = exactNullableIntegerSchema ;
196- export const exactMultiTypeSchema = v.union([v.string(), v.number()]);
197- export const multiTypeSchema = exactMultiTypeSchema ;
190+ export const inputNullableStringSchema = v.nullable(v.string());
191+ export const nullableStringSchema = inputNullableStringSchema ;
192+ export const inputNullableStringEnumSchema = v.nullable(v.picklist(["active", "inactive"]));
193+ export const nullableStringEnumSchema = inputNullableStringEnumSchema ;
194+ export const inputNullableIntegerSchema = v.nullable(v.pipe(v.number(), v.integer()));
195+ export const nullableIntegerSchema = inputNullableIntegerSchema ;
196+ export const inputMultiTypeSchema = v.union([v.string(), v.number()]);
197+ export const multiTypeSchema = inputMultiTypeSchema ;
198198"
199199` ;
200200
0 commit comments