@marcoappio/marco-config 2.0.506 → 2.0.508

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.
@@ -3,7 +3,7 @@ export declare const auth: {
3
3
  code: v.ObjectSchema<{
4
4
  readonly authType: v.LiteralSchema<"CODE", undefined>;
5
5
  readonly code: v.StringSchema<undefined>;
6
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
6
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
7
7
  }, undefined>;
8
8
  };
9
9
  //# sourceMappingURL=auth.d.ts.map
@@ -6,7 +6,7 @@ export declare const marcoSchemas: {
6
6
  code: import("valibot").ObjectSchema<{
7
7
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
8
8
  readonly code: import("valibot").StringSchema<undefined>;
9
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
9
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
10
10
  }, undefined>;
11
11
  };
12
12
  drafts: {
@@ -65,7 +65,7 @@ export declare const marcoSchemas: {
65
65
  }, undefined>], undefined>;
66
66
  };
67
67
  string: {
68
- email: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
68
+ email: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
69
69
  enum: (values: Record<string, string>) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EnumSchema<Record<string, string>, undefined>]>, undefined>;
70
70
  matches: (regex: RegExp) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
71
71
  nullable: (maxLength?: number) => import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1,6 +1,6 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const string: {
3
- email: () => v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
3
+ email: () => v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
4
4
  enum: (values: Record<string, string>) => v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EnumSchema<Record<string, string>, undefined>]>, undefined>;
5
5
  matches: (regex: RegExp) => v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
6
6
  nullable: (maxLength?: number) => v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/schemas/string.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,MAAM;;mBAUF,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;qBACpB,MAAM;;;;CAIxB,CAAA"}
1
+ {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/schemas/string.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,MAAM;;mBAEF,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;qBACpB,MAAM;;;;CAIxB,CAAA"}
@@ -1,9 +1,6 @@
1
- import { parseOneAddress } from 'email-addresses';
2
1
  import * as v from 'valibot';
3
2
  export const string = {
4
- email: () => v.nonOptional(v.pipe(v.string(),
5
- // rfc5322
6
- v.check(x => parseOneAddress(x) !== null, 'Invalid email'), v.maxLength(255))),
3
+ email: () => v.nonOptional(v.pipe(v.string(), v.rfcEmail())),
7
4
  enum: (values) => v.nonOptional(v.pipe(v.string(), v.enum(values))),
8
5
  matches: (regex) => v.nonOptional(v.pipe(v.string(), v.regex(regex))),
9
6
  nullable: (maxLength = 255) => v.nullable(v.pipe(v.string(), v.nonEmpty(), v.maxLength(maxLength))),
@@ -94,7 +94,7 @@ export declare const endpoints: {
94
94
  readonly refreshToken: import("valibot").StringSchema<undefined>;
95
95
  readonly user: import("valibot").ObjectSchema<{
96
96
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
97
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
97
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
98
98
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
99
99
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
100
100
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -106,7 +106,7 @@ export declare const endpoints: {
106
106
  readonly status: import("valibot").LiteralSchema<200, undefined>;
107
107
  }, undefined>], undefined>>;
108
108
  sendAuthCode: EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
109
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
109
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
110
110
  }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
111
111
  readonly data: import("valibot").ObjectSchema<{
112
112
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -133,7 +133,7 @@ export declare const endpoints: {
133
133
  verifyAuthCode: EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
134
134
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
135
135
  readonly code: import("valibot").StringSchema<undefined>;
136
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
136
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
137
137
  }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
138
138
  readonly data: import("valibot").ObjectSchema<{
139
139
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -185,7 +185,7 @@ export declare const endpoints: {
185
185
  readonly refreshToken: import("valibot").StringSchema<undefined>;
186
186
  readonly user: import("valibot").ObjectSchema<{
187
187
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
188
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
188
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
189
189
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
190
190
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
191
191
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -27,7 +27,7 @@ export declare const auth: {
27
27
  readonly refreshToken: import("valibot").StringSchema<undefined>;
28
28
  readonly user: import("valibot").ObjectSchema<{
29
29
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
30
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
30
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
31
31
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
32
32
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
33
33
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -39,7 +39,7 @@ export declare const auth: {
39
39
  readonly status: import("valibot").LiteralSchema<200, undefined>;
40
40
  }, undefined>], undefined>>;
41
41
  sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
42
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
42
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
43
43
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
44
44
  readonly data: import("valibot").ObjectSchema<{
45
45
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -66,7 +66,7 @@ export declare const auth: {
66
66
  verifyAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
67
67
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
68
68
  readonly code: import("valibot").StringSchema<undefined>;
69
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
69
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
70
70
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
71
71
  readonly data: import("valibot").ObjectSchema<{
72
72
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -118,7 +118,7 @@ export declare const auth: {
118
118
  readonly refreshToken: import("valibot").StringSchema<undefined>;
119
119
  readonly user: import("valibot").ObjectSchema<{
120
120
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
121
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
121
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
122
122
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
123
123
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
124
124
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -27,7 +27,7 @@ export declare const refreshAuth: import("../../../..").EndpointConfig<"/v1/pb/a
27
27
  readonly refreshToken: v.StringSchema<undefined>;
28
28
  readonly user: v.ObjectSchema<{
29
29
  readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
30
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
30
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
31
31
  readonly emailVerified: v.BooleanSchema<undefined>;
32
32
  readonly firstName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
33
33
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1,6 +1,6 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", v.ObjectSchema<{
3
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
3
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
4
4
  }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
5
5
  readonly data: v.ObjectSchema<{
6
6
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -2,7 +2,7 @@ import * as v from 'valibot';
2
2
  export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/verify-code", v.ObjectSchema<{
3
3
  readonly authType: v.LiteralSchema<"CODE", undefined>;
4
4
  readonly code: v.StringSchema<undefined>;
5
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
5
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
6
6
  }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
7
7
  readonly data: v.ObjectSchema<{
8
8
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -54,7 +54,7 @@ export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/p
54
54
  readonly refreshToken: v.StringSchema<undefined>;
55
55
  readonly user: v.ObjectSchema<{
56
56
  readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
57
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
57
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
58
58
  readonly emailVerified: v.BooleanSchema<undefined>;
59
59
  readonly firstName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
60
60
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -28,7 +28,7 @@ export declare const publicGroup: {
28
28
  readonly refreshToken: import("valibot").StringSchema<undefined>;
29
29
  readonly user: import("valibot").ObjectSchema<{
30
30
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
31
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
31
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
32
32
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
33
33
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
34
34
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -40,7 +40,7 @@ export declare const publicGroup: {
40
40
  readonly status: import("valibot").LiteralSchema<200, undefined>;
41
41
  }, undefined>], undefined>>;
42
42
  sendAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
43
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
43
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
44
44
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
45
45
  readonly data: import("valibot").ObjectSchema<{
46
46
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -67,7 +67,7 @@ export declare const publicGroup: {
67
67
  verifyAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
68
68
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
69
69
  readonly code: import("valibot").StringSchema<undefined>;
70
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
70
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
71
71
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
72
72
  readonly data: import("valibot").ObjectSchema<{
73
73
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -119,7 +119,7 @@ export declare const publicGroup: {
119
119
  readonly refreshToken: import("valibot").StringSchema<undefined>;
120
120
  readonly user: import("valibot").ObjectSchema<{
121
121
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
122
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
122
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
123
123
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
124
124
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
125
125
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -93,7 +93,7 @@ export declare const marcoSDK: {
93
93
  readonly refreshToken: import("valibot").StringSchema<undefined>;
94
94
  readonly user: import("valibot").ObjectSchema<{
95
95
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
96
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
96
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
97
97
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
98
98
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
99
99
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -105,7 +105,7 @@ export declare const marcoSDK: {
105
105
  readonly status: import("valibot").LiteralSchema<200, undefined>;
106
106
  }, undefined>], undefined>>;
107
107
  sendAuthCode: import("..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
108
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
108
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
109
109
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
110
110
  readonly data: import("valibot").ObjectSchema<{
111
111
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -132,7 +132,7 @@ export declare const marcoSDK: {
132
132
  verifyAuthCode: import("..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
133
133
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
134
134
  readonly code: import("valibot").StringSchema<undefined>;
135
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
135
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
136
136
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
137
137
  readonly data: import("valibot").ObjectSchema<{
138
138
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -184,7 +184,7 @@ export declare const marcoSDK: {
184
184
  readonly refreshToken: import("valibot").StringSchema<undefined>;
185
185
  readonly user: import("valibot").ObjectSchema<{
186
186
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
187
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
187
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
188
188
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
189
189
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
190
190
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;