@marcoappio/marco-config 2.0.142 → 2.0.144

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.
@@ -240,6 +240,9 @@ export declare const endpoints: {
240
240
  }, undefined>, import("valibot").ObjectSchema<{
241
241
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
242
242
  readonly status: import("valibot").LiteralSchema<401, undefined>;
243
+ }, undefined>, import("valibot").ObjectSchema<{
244
+ readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
245
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
243
246
  }, undefined>, import("valibot").ObjectSchema<{
244
247
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
245
248
  readonly status: import("valibot").LiteralSchema<502, undefined>;
@@ -251,8 +254,14 @@ export declare const endpoints: {
251
254
  readonly accessToken: import("valibot").StringSchema<undefined>;
252
255
  readonly refreshToken: import("valibot").StringSchema<undefined>;
253
256
  readonly user: import("valibot").ObjectSchema<{
257
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
254
258
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
259
+ readonly emailVerified: import("valibot").BooleanSchema<undefined>;
260
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
255
261
  readonly id: import("valibot").StringSchema<undefined>;
262
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
263
+ readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
264
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
256
265
  }, undefined>;
257
266
  }, undefined>;
258
267
  readonly status: import("valibot").LiteralSchema<200, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -22,6 +22,9 @@ export declare const auth: {
22
22
  }, undefined>, import("valibot").ObjectSchema<{
23
23
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
24
24
  readonly status: import("valibot").LiteralSchema<401, undefined>;
25
+ }, undefined>, import("valibot").ObjectSchema<{
26
+ readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
27
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
25
28
  }, undefined>, import("valibot").ObjectSchema<{
26
29
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
27
30
  readonly status: import("valibot").LiteralSchema<502, undefined>;
@@ -33,8 +36,14 @@ export declare const auth: {
33
36
  readonly accessToken: import("valibot").StringSchema<undefined>;
34
37
  readonly refreshToken: import("valibot").StringSchema<undefined>;
35
38
  readonly user: import("valibot").ObjectSchema<{
39
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
36
40
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
41
+ readonly emailVerified: import("valibot").BooleanSchema<undefined>;
42
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
37
43
  readonly id: import("valibot").StringSchema<undefined>;
44
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
45
+ readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
46
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
38
47
  }, undefined>;
39
48
  }, undefined>;
40
49
  readonly status: import("valibot").LiteralSchema<200, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGhB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGhB,CAAA"}
@@ -11,6 +11,9 @@ export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/p
11
11
  }, undefined>, v.ObjectSchema<{
12
12
  readonly code: v.LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
13
13
  readonly status: v.LiteralSchema<401, undefined>;
14
+ }, undefined>, v.ObjectSchema<{
15
+ readonly code: v.LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
16
+ readonly status: v.LiteralSchema<401, undefined>;
14
17
  }, undefined>, v.ObjectSchema<{
15
18
  readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
16
19
  readonly status: v.LiteralSchema<502, undefined>;
@@ -22,8 +25,14 @@ export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/p
22
25
  readonly accessToken: v.StringSchema<undefined>;
23
26
  readonly refreshToken: v.StringSchema<undefined>;
24
27
  readonly user: v.ObjectSchema<{
28
+ readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
25
29
  readonly email: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
30
+ readonly emailVerified: v.BooleanSchema<undefined>;
31
+ readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
26
32
  readonly id: v.StringSchema<undefined>;
33
+ readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
34
+ readonly profilePictureUrl: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
35
+ readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
27
36
  }, undefined>;
28
37
  }, undefined>;
29
38
  readonly status: v.LiteralSchema<200, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyBzB,CAAA"}
1
+ {"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAgCzB,CAAA"}
@@ -13,6 +13,7 @@ export const verifyAuthCode = createEndpoint({
13
13
  errorManifest.validationFailedErrorSchema,
14
14
  errorManifest.authCodeExpiredErrorSchema,
15
15
  errorManifest.authCodePreviouslyUsedErrorSchema,
16
+ errorManifest.authTooManyAttemptsErrorSchema,
16
17
  errorManifest.authServerResponseUnexpectedErrorSchema,
17
18
  errorManifest.userNotFoundErrorSchema,
18
19
  v.object({
@@ -20,8 +21,14 @@ export const verifyAuthCode = createEndpoint({
20
21
  accessToken: v.string(),
21
22
  refreshToken: v.string(),
22
23
  user: v.object({
24
+ createdAt: marcoSchemas.string.required(),
23
25
  email: marcoSchemas.string.email(),
26
+ emailVerified: v.boolean(),
27
+ firstName: marcoSchemas.string.nullable(),
24
28
  id: v.string(),
29
+ lastName: marcoSchemas.string.nullable(),
30
+ profilePictureUrl: marcoSchemas.string.nullable(),
31
+ updatedAt: marcoSchemas.string.required(),
25
32
  }),
26
33
  }),
27
34
  status: v.literal(200),
@@ -23,6 +23,9 @@ export declare const publicGroup: {
23
23
  }, undefined>, import("valibot").ObjectSchema<{
24
24
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
25
25
  readonly status: import("valibot").LiteralSchema<401, undefined>;
26
+ }, undefined>, import("valibot").ObjectSchema<{
27
+ readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
28
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
26
29
  }, undefined>, import("valibot").ObjectSchema<{
27
30
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
28
31
  readonly status: import("valibot").LiteralSchema<502, undefined>;
@@ -34,8 +37,14 @@ export declare const publicGroup: {
34
37
  readonly accessToken: import("valibot").StringSchema<undefined>;
35
38
  readonly refreshToken: import("valibot").StringSchema<undefined>;
36
39
  readonly user: import("valibot").ObjectSchema<{
40
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
37
41
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
42
+ readonly emailVerified: import("valibot").BooleanSchema<undefined>;
43
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
38
44
  readonly id: import("valibot").StringSchema<undefined>;
45
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
46
+ readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
47
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
39
48
  }, undefined>;
40
49
  }, undefined>;
41
50
  readonly status: import("valibot").LiteralSchema<200, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA"}
@@ -239,6 +239,9 @@ export declare const marcoSDK: {
239
239
  }, undefined>, import("valibot").ObjectSchema<{
240
240
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
241
241
  readonly status: import("valibot").LiteralSchema<401, undefined>;
242
+ }, undefined>, import("valibot").ObjectSchema<{
243
+ readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
244
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
242
245
  }, undefined>, import("valibot").ObjectSchema<{
243
246
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
244
247
  readonly status: import("valibot").LiteralSchema<502, undefined>;
@@ -250,8 +253,14 @@ export declare const marcoSDK: {
250
253
  readonly accessToken: import("valibot").StringSchema<undefined>;
251
254
  readonly refreshToken: import("valibot").StringSchema<undefined>;
252
255
  readonly user: import("valibot").ObjectSchema<{
256
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
253
257
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
258
+ readonly emailVerified: import("valibot").BooleanSchema<undefined>;
259
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
254
260
  readonly id: import("valibot").StringSchema<undefined>;
261
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
262
+ readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
263
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
255
264
  }, undefined>;
256
265
  }, undefined>;
257
266
  readonly status: import("valibot").LiteralSchema<200, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
@@ -3,6 +3,10 @@ export declare const authCodeExpiredErrorSchema: v.ObjectSchema<{
3
3
  readonly code: v.LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
4
4
  readonly status: v.LiteralSchema<401, undefined>;
5
5
  }, undefined>;
6
+ export declare const authTooManyAttemptsErrorSchema: v.ObjectSchema<{
7
+ readonly code: v.LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
8
+ readonly status: v.LiteralSchema<401, undefined>;
9
+ }, undefined>;
6
10
  export declare const authCodePreviouslyUsedErrorSchema: v.ObjectSchema<{
7
11
  readonly code: v.LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
8
12
  readonly status: v.LiteralSchema<401, undefined>;
@@ -40,6 +44,10 @@ export declare const errorManifest: {
40
44
  readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
41
45
  readonly status: v.LiteralSchema<502, undefined>;
42
46
  }, undefined>;
47
+ authTooManyAttemptsErrorSchema: v.ObjectSchema<{
48
+ readonly code: v.LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
49
+ readonly status: v.LiteralSchema<401, undefined>;
50
+ }, undefined>;
43
51
  authenticationFailedErrorSchema: v.ObjectSchema<{
44
52
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
45
53
  readonly status: v.LiteralSchema<401, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B,eAAO,MAAM,0BAA0B;;;aAGrC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;aAGlD,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;aAG1C,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;aAGtC,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQD,CAAA"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B,eAAO,MAAM,0BAA0B;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;aAGlD,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;aAG1C,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;aAGtC,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASD,CAAA"}
@@ -3,6 +3,10 @@ export const authCodeExpiredErrorSchema = v.object({
3
3
  code: v.literal('AUTH_CODE_EXPIRED'),
4
4
  status: v.literal(401),
5
5
  });
6
+ export const authTooManyAttemptsErrorSchema = v.object({
7
+ code: v.literal('AUTH_TOO_MANY_ATTEMPTS'),
8
+ status: v.literal(401),
9
+ });
6
10
  export const authCodePreviouslyUsedErrorSchema = v.object({
7
11
  code: v.literal('AUTH_CODE_PREVIOUSLY_USED'),
8
12
  status: v.literal(401),
@@ -31,6 +35,7 @@ export const errorManifest = {
31
35
  authCodeExpiredErrorSchema,
32
36
  authCodePreviouslyUsedErrorSchema,
33
37
  authServerResponseUnexpectedErrorSchema,
38
+ authTooManyAttemptsErrorSchema,
34
39
  authenticationFailedErrorSchema,
35
40
  messageNotFoundErrorSchema,
36
41
  userNotFoundErrorSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.142",
3
+ "version": "2.0.144",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",