@marcoappio/marco-config 2.0.118 → 2.0.120
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 +4 -8
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +4 -8
- package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +2 -4
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/refreshAuth.js +1 -8
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +2 -4
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +1 -8
- package/dist/sdk/endpoints/public/index.d.ts +4 -8
- package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +4 -8
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -89,10 +89,8 @@ export declare const endpoints: {
|
|
|
89
89
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
90
90
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
91
91
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
92
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
93
|
-
readonly
|
|
94
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
95
|
-
readonly code: import("valibot").LiteralSchema<"VERIFY_AUTH_CODE::EXPIRED_CODE", undefined>;
|
|
92
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
93
|
+
readonly details: import("valibot").StringSchema<undefined>;
|
|
96
94
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
97
95
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
98
96
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -118,10 +116,8 @@ export declare const endpoints: {
|
|
|
118
116
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
119
117
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
120
118
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
121
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
122
|
-
readonly
|
|
123
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
124
|
-
readonly code: import("valibot").LiteralSchema<"VERIFY_AUTH_CODE::EXPIRED_CODE", undefined>;
|
|
119
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
120
|
+
readonly details: import("valibot").StringSchema<undefined>;
|
|
125
121
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
126
122
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
127
123
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -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"}
|
|
@@ -5,10 +5,8 @@ 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<"
|
|
9
|
-
readonly
|
|
10
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
11
|
-
readonly code: import("valibot").LiteralSchema<"VERIFY_AUTH_CODE::EXPIRED_CODE", undefined>;
|
|
8
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
9
|
+
readonly details: import("valibot").StringSchema<undefined>;
|
|
12
10
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
13
11
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
14
12
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -34,10 +32,8 @@ export declare const auth: {
|
|
|
34
32
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
35
33
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
36
34
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
37
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
38
|
-
readonly
|
|
39
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
40
|
-
readonly code: import("valibot").LiteralSchema<"VERIFY_AUTH_CODE::EXPIRED_CODE", undefined>;
|
|
35
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
36
|
+
readonly details: import("valibot").StringSchema<undefined>;
|
|
41
37
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
42
38
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
43
39
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
|
|
@@ -5,10 +5,8 @@ export declare const refreshAuth: import("../../../../types/Endpoint").EndpointC
|
|
|
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<"
|
|
9
|
-
readonly
|
|
10
|
-
}, undefined>, v.ObjectSchema<{
|
|
11
|
-
readonly code: v.LiteralSchema<"VERIFY_AUTH_CODE::EXPIRED_CODE", undefined>;
|
|
8
|
+
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
9
|
+
readonly details: v.StringSchema<undefined>;
|
|
12
10
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
13
11
|
}, undefined>, v.ObjectSchema<{
|
|
14
12
|
readonly data: v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refreshAuth.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/refreshAuth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"refreshAuth.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/refreshAuth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;2BAmBtB,CAAA"}
|
|
@@ -10,14 +10,7 @@ export const refreshAuth = createEndpoint({
|
|
|
10
10
|
path: '/v1/pb/auth/refresh',
|
|
11
11
|
response: v.union([
|
|
12
12
|
errorManifest.validationFailedErrorSchema,
|
|
13
|
-
|
|
14
|
-
code: v.literal('VERIFY_AUTH_CODE::INVALID_CODE'),
|
|
15
|
-
status: v.literal(400),
|
|
16
|
-
}),
|
|
17
|
-
v.object({
|
|
18
|
-
code: v.literal('VERIFY_AUTH_CODE::EXPIRED_CODE'),
|
|
19
|
-
status: v.literal(400),
|
|
20
|
-
}),
|
|
13
|
+
errorManifest.authenticationFailedErrorSchema,
|
|
21
14
|
v.object({
|
|
22
15
|
data: v.object({
|
|
23
16
|
accessToken: v.string(),
|
|
@@ -6,10 +6,8 @@ export declare const verifyAuthCode: import("../../../../types/Endpoint").Endpoi
|
|
|
6
6
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, v.ObjectSchema<{
|
|
9
|
-
readonly code: v.LiteralSchema<"
|
|
10
|
-
readonly
|
|
11
|
-
}, undefined>, v.ObjectSchema<{
|
|
12
|
-
readonly code: v.LiteralSchema<"VERIFY_AUTH_CODE::EXPIRED_CODE", undefined>;
|
|
9
|
+
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
10
|
+
readonly details: v.StringSchema<undefined>;
|
|
13
11
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
14
12
|
}, undefined>, v.ObjectSchema<{
|
|
15
13
|
readonly data: v.ObjectSchema<{
|
|
@@ -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;AAO5B,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;AAO5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;2BAoBzB,CAAA"}
|
|
@@ -12,14 +12,7 @@ export const verifyAuthCode = createEndpoint({
|
|
|
12
12
|
path: '/v1/pb/auth/verify-code',
|
|
13
13
|
response: v.union([
|
|
14
14
|
errorManifest.validationFailedErrorSchema,
|
|
15
|
-
|
|
16
|
-
code: v.literal('VERIFY_AUTH_CODE::INVALID_CODE'),
|
|
17
|
-
status: v.literal(400),
|
|
18
|
-
}),
|
|
19
|
-
v.object({
|
|
20
|
-
code: v.literal('VERIFY_AUTH_CODE::EXPIRED_CODE'),
|
|
21
|
-
status: v.literal(400),
|
|
22
|
-
}),
|
|
15
|
+
errorManifest.authenticationFailedErrorSchema,
|
|
23
16
|
v.object({
|
|
24
17
|
data: v.object({
|
|
25
18
|
accessToken: v.string(),
|
|
@@ -6,10 +6,8 @@ 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<"
|
|
10
|
-
readonly
|
|
11
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
12
|
-
readonly code: import("valibot").LiteralSchema<"VERIFY_AUTH_CODE::EXPIRED_CODE", undefined>;
|
|
9
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
10
|
+
readonly details: import("valibot").StringSchema<undefined>;
|
|
13
11
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
14
12
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
15
13
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -35,10 +33,8 @@ export declare const publicGroup: {
|
|
|
35
33
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
36
34
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
37
35
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
38
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
39
|
-
readonly
|
|
40
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
41
|
-
readonly code: import("valibot").LiteralSchema<"VERIFY_AUTH_CODE::EXPIRED_CODE", undefined>;
|
|
36
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
37
|
+
readonly details: import("valibot").StringSchema<undefined>;
|
|
42
38
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
43
39
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
44
40
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -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
|
@@ -88,10 +88,8 @@ export declare const marcoSDK: {
|
|
|
88
88
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
89
89
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
90
90
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
91
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
92
|
-
readonly
|
|
93
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
94
|
-
readonly code: import("valibot").LiteralSchema<"VERIFY_AUTH_CODE::EXPIRED_CODE", undefined>;
|
|
91
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
92
|
+
readonly details: import("valibot").StringSchema<undefined>;
|
|
95
93
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
96
94
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
97
95
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -117,10 +115,8 @@ export declare const marcoSDK: {
|
|
|
117
115
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
118
116
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
119
117
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
120
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
121
|
-
readonly
|
|
122
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
123
|
-
readonly code: import("valibot").LiteralSchema<"VERIFY_AUTH_CODE::EXPIRED_CODE", undefined>;
|
|
118
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
119
|
+
readonly details: import("valibot").StringSchema<undefined>;
|
|
124
120
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
125
121
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
126
122
|
readonly data: import("valibot").ObjectSchema<{
|
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"}
|