@marcoappio/marco-config 2.0.149 → 2.0.150
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 +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
- package/dist/sdk/endpoints/public/index.d.ts +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/validation/errors.d.ts +2 -2
- package/dist/sdk/validation/errors.js +1 -1
- package/package.json +1 -1
|
@@ -223,7 +223,7 @@ export declare const endpoints: {
|
|
|
223
223
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
224
224
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
225
225
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
226
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
226
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
227
227
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
228
228
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
229
229
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
@@ -5,7 +5,7 @@ export declare const auth: {
|
|
|
5
5
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
6
6
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
7
7
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
8
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
8
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
9
9
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
10
10
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
11
11
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
@@ -5,7 +5,7 @@ export declare const refreshAuth: import("../../../..").EndpointConfig<"/v1/pb/a
|
|
|
5
5
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
6
6
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
7
7
|
}, undefined>, v.ObjectSchema<{
|
|
8
|
-
readonly code: v.LiteralSchema<"
|
|
8
|
+
readonly code: v.LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
9
9
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
10
10
|
}, undefined>, v.ObjectSchema<{
|
|
11
11
|
readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
@@ -6,7 +6,7 @@ export declare const publicGroup: {
|
|
|
6
6
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
9
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
9
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
10
10
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
11
11
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
12
12
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -222,7 +222,7 @@ export declare const marcoSDK: {
|
|
|
222
222
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
223
223
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
224
224
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
225
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
225
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
226
226
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
227
227
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
228
228
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
@@ -20,7 +20,7 @@ export declare const authenticationFailedErrorSchema: v.ObjectSchema<{
|
|
|
20
20
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
21
21
|
}, undefined>;
|
|
22
22
|
export declare const authRefreshTokenInvalid: v.ObjectSchema<{
|
|
23
|
-
readonly code: v.LiteralSchema<"
|
|
23
|
+
readonly code: v.LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
24
24
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
25
25
|
}, undefined>;
|
|
26
26
|
export declare const userNotFoundErrorSchema: v.ObjectSchema<{
|
|
@@ -45,7 +45,7 @@ export declare const errorManifest: {
|
|
|
45
45
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
46
46
|
}, undefined>;
|
|
47
47
|
authRefreshTokenInvalid: v.ObjectSchema<{
|
|
48
|
-
readonly code: v.LiteralSchema<"
|
|
48
|
+
readonly code: v.LiteralSchema<"AUTH_REFRESH_TOKEN_INVALID", undefined>;
|
|
49
49
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
50
50
|
}, undefined>;
|
|
51
51
|
authServerResponseUnexpectedErrorSchema: v.ObjectSchema<{
|
|
@@ -20,7 +20,7 @@ export const authenticationFailedErrorSchema = v.object({
|
|
|
20
20
|
status: v.literal(401),
|
|
21
21
|
});
|
|
22
22
|
export const authRefreshTokenInvalid = v.object({
|
|
23
|
-
code: v.literal('
|
|
23
|
+
code: v.literal('AUTH_REFRESH_TOKEN_INVALID'),
|
|
24
24
|
status: v.literal(401),
|
|
25
25
|
});
|
|
26
26
|
export const userNotFoundErrorSchema = v.object({
|