@marcoappio/marco-config 2.0.144 → 2.0.146
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 +31 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +31 -0
- package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/index.js +2 -0
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +33 -0
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +1 -0
- package/dist/sdk/endpoints/public/auth/refreshAuth.js +30 -0
- package/dist/sdk/endpoints/public/index.d.ts +31 -0
- package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +31 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -217,6 +217,37 @@ export declare const endpoints: {
|
|
|
217
217
|
};
|
|
218
218
|
public: {
|
|
219
219
|
auth: {
|
|
220
|
+
refreshAuthCode: EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
221
|
+
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
222
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
223
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
224
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
225
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
226
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
227
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
228
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
229
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
|
|
230
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
231
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
232
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
233
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
234
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
235
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
236
|
+
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
237
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
238
|
+
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
239
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
240
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
241
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
242
|
+
readonly accessToken: import("valibot").StringSchema<undefined>;
|
|
243
|
+
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
244
|
+
readonly user: import("valibot").ObjectSchema<{
|
|
245
|
+
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
246
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
247
|
+
}, undefined>;
|
|
248
|
+
}, undefined>;
|
|
249
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
250
|
+
}, undefined>], undefined>>;
|
|
220
251
|
sendAuthCode: EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
221
252
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
222
253
|
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[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"}
|
|
@@ -1,4 +1,35 @@
|
|
|
1
1
|
export declare const auth: {
|
|
2
|
+
refreshAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
3
|
+
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
4
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
5
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
6
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
7
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
8
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
9
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
10
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
11
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
|
|
12
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
13
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
14
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
15
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
16
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
17
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
18
|
+
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
19
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
20
|
+
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
21
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
22
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
23
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
24
|
+
readonly accessToken: import("valibot").StringSchema<undefined>;
|
|
25
|
+
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
26
|
+
readonly user: import("valibot").ObjectSchema<{
|
|
27
|
+
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
28
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
29
|
+
}, undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
32
|
+
}, undefined>], undefined>>;
|
|
2
33
|
sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
3
34
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
4
35
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { refreshAuth } from '../../../../sdk/endpoints/public/auth/refreshAuth';
|
|
1
2
|
import { sendAuthCode } from './sendAuthCode';
|
|
2
3
|
import { verifyAuthCode } from './verifyAuthCode';
|
|
3
4
|
export const auth = {
|
|
5
|
+
refreshAuthCode: refreshAuth,
|
|
4
6
|
sendAuthCode,
|
|
5
7
|
verifyAuthCode,
|
|
6
8
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const refreshAuth: import("../../../..").EndpointConfig<"/v1/pb/auth/refresh", v.ObjectSchema<{
|
|
3
|
+
readonly refreshToken: v.StringSchema<undefined>;
|
|
4
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
+
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
6
|
+
readonly status: v.LiteralSchema<400, undefined>;
|
|
7
|
+
}, undefined>, v.ObjectSchema<{
|
|
8
|
+
readonly code: v.LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
9
|
+
readonly status: v.LiteralSchema<401, undefined>;
|
|
10
|
+
}, undefined>, v.ObjectSchema<{
|
|
11
|
+
readonly code: v.LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
|
|
12
|
+
readonly status: v.LiteralSchema<401, undefined>;
|
|
13
|
+
}, undefined>, v.ObjectSchema<{
|
|
14
|
+
readonly code: v.LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
15
|
+
readonly status: v.LiteralSchema<401, undefined>;
|
|
16
|
+
}, undefined>, v.ObjectSchema<{
|
|
17
|
+
readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
18
|
+
readonly status: v.LiteralSchema<502, undefined>;
|
|
19
|
+
}, undefined>, v.ObjectSchema<{
|
|
20
|
+
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
21
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
22
|
+
}, undefined>, v.ObjectSchema<{
|
|
23
|
+
readonly data: v.ObjectSchema<{
|
|
24
|
+
readonly accessToken: v.StringSchema<undefined>;
|
|
25
|
+
readonly refreshToken: v.StringSchema<undefined>;
|
|
26
|
+
readonly user: v.ObjectSchema<{
|
|
27
|
+
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
28
|
+
readonly id: v.StringSchema<undefined>;
|
|
29
|
+
}, undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
readonly status: v.LiteralSchema<200, undefined>;
|
|
32
|
+
}, undefined>], undefined>>;
|
|
33
|
+
//# sourceMappingURL=refreshAuth.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyBtB,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { marcoSchemas } from '../../../../schemas';
|
|
3
|
+
import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
4
|
+
import { errorManifest } from '../../../../sdk/validation/errors';
|
|
5
|
+
export const refreshAuth = createEndpoint({
|
|
6
|
+
body: v.object({
|
|
7
|
+
refreshToken: v.string(),
|
|
8
|
+
}),
|
|
9
|
+
method: 'POST',
|
|
10
|
+
path: '/v1/pb/auth/refresh',
|
|
11
|
+
response: v.union([
|
|
12
|
+
errorManifest.validationFailedErrorSchema,
|
|
13
|
+
errorManifest.authCodeExpiredErrorSchema,
|
|
14
|
+
errorManifest.authCodePreviouslyUsedErrorSchema,
|
|
15
|
+
errorManifest.authTooManyAttemptsErrorSchema,
|
|
16
|
+
errorManifest.authServerResponseUnexpectedErrorSchema,
|
|
17
|
+
errorManifest.userNotFoundErrorSchema,
|
|
18
|
+
v.object({
|
|
19
|
+
data: v.object({
|
|
20
|
+
accessToken: v.string(),
|
|
21
|
+
refreshToken: v.string(),
|
|
22
|
+
user: v.object({
|
|
23
|
+
email: marcoSchemas.string.email(),
|
|
24
|
+
id: v.string(),
|
|
25
|
+
}),
|
|
26
|
+
}),
|
|
27
|
+
status: v.literal(200),
|
|
28
|
+
}),
|
|
29
|
+
]),
|
|
30
|
+
});
|
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
export declare const publicGroup: {
|
|
2
2
|
auth: {
|
|
3
|
+
refreshAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
4
|
+
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
5
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
8
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
9
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
10
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
11
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
12
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
|
|
13
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
14
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
15
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
16
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
17
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
18
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
19
|
+
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
20
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
21
|
+
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
22
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
23
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
24
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
25
|
+
readonly accessToken: import("valibot").StringSchema<undefined>;
|
|
26
|
+
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
27
|
+
readonly user: import("valibot").ObjectSchema<{
|
|
28
|
+
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
29
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
}, undefined>;
|
|
32
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
33
|
+
}, undefined>], undefined>>;
|
|
3
34
|
sendAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
4
35
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
5
36
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[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
|
@@ -216,6 +216,37 @@ export declare const marcoSDK: {
|
|
|
216
216
|
};
|
|
217
217
|
public: {
|
|
218
218
|
auth: {
|
|
219
|
+
refreshAuthCode: import("..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
220
|
+
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
221
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
222
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
223
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
224
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
225
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
226
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
227
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
228
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_PREVIOUSLY_USED", undefined>;
|
|
229
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
230
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
231
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
232
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
233
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
234
|
+
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
235
|
+
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
236
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
237
|
+
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
238
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
239
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
240
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
241
|
+
readonly accessToken: import("valibot").StringSchema<undefined>;
|
|
242
|
+
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
243
|
+
readonly user: import("valibot").ObjectSchema<{
|
|
244
|
+
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
245
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
246
|
+
}, undefined>;
|
|
247
|
+
}, undefined>;
|
|
248
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
249
|
+
}, undefined>], undefined>>;
|
|
219
250
|
sendAuthCode: import("..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
220
251
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
221
252
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[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"}
|