@marcoappio/marco-config 2.0.142 → 2.0.143
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.
- package/dist/sdk/endpoints/index.d.ts +3 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +3 -0
- package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +3 -0
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +1 -0
- package/dist/sdk/endpoints/public/index.d.ts +3 -0
- package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +3 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +8 -0
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +5 -0
- package/package.json +1 -1
|
@@ -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>;
|
|
@@ -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
|
|
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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
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>;
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA0BzB,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({
|
|
@@ -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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -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>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
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
|
|
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,
|