@marcoappio/marco-config 2.0.149 → 2.0.151

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.
@@ -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<"INVALID_REFRESH_TOKEN", undefined>;
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>;
@@ -233,8 +233,14 @@ export declare const endpoints: {
233
233
  readonly accessToken: import("valibot").StringSchema<undefined>;
234
234
  readonly refreshToken: import("valibot").StringSchema<undefined>;
235
235
  readonly user: import("valibot").ObjectSchema<{
236
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
236
237
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
238
+ readonly emailVerified: import("valibot").BooleanSchema<undefined>;
239
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
237
240
  readonly id: import("valibot").StringSchema<undefined>;
241
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
242
+ readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
243
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
238
244
  }, undefined>;
239
245
  }, undefined>;
240
246
  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"}
@@ -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<"INVALID_REFRESH_TOKEN", undefined>;
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>;
@@ -15,8 +15,14 @@ export declare const auth: {
15
15
  readonly accessToken: import("valibot").StringSchema<undefined>;
16
16
  readonly refreshToken: import("valibot").StringSchema<undefined>;
17
17
  readonly user: import("valibot").ObjectSchema<{
18
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
18
19
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
20
+ readonly emailVerified: import("valibot").BooleanSchema<undefined>;
21
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
19
22
  readonly id: import("valibot").StringSchema<undefined>;
23
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
24
+ readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
25
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
20
26
  }, undefined>;
21
27
  }, undefined>;
22
28
  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":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
@@ -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<"INVALID_REFRESH_TOKEN", undefined>;
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>;
@@ -15,8 +15,14 @@ export declare const refreshAuth: import("../../../..").EndpointConfig<"/v1/pb/a
15
15
  readonly accessToken: v.StringSchema<undefined>;
16
16
  readonly refreshToken: v.StringSchema<undefined>;
17
17
  readonly user: v.ObjectSchema<{
18
+ readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
18
19
  readonly email: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
20
+ readonly emailVerified: v.BooleanSchema<undefined>;
21
+ readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
19
22
  readonly id: v.StringSchema<undefined>;
23
+ readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
24
+ readonly profilePictureUrl: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
25
+ readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
20
26
  }, undefined>;
21
27
  }, undefined>;
22
28
  readonly status: v.LiteralSchema<200, undefined>;
@@ -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;;;;;;;;;;;;;;;;;;;;;2BAsBtB,CAAA"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4BtB,CAAA"}
@@ -17,8 +17,14 @@ export const refreshAuth = createEndpoint({
17
17
  accessToken: v.string(),
18
18
  refreshToken: v.string(),
19
19
  user: v.object({
20
+ createdAt: marcoSchemas.string.required(),
20
21
  email: marcoSchemas.string.email(),
22
+ emailVerified: v.boolean(),
23
+ firstName: marcoSchemas.string.nullable(),
21
24
  id: v.string(),
25
+ lastName: marcoSchemas.string.nullable(),
26
+ profilePictureUrl: marcoSchemas.string.nullable(),
27
+ updatedAt: marcoSchemas.string.required(),
22
28
  }),
23
29
  }),
24
30
  status: v.literal(200),
@@ -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<"INVALID_REFRESH_TOKEN", undefined>;
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>;
@@ -16,8 +16,14 @@ export declare const publicGroup: {
16
16
  readonly accessToken: import("valibot").StringSchema<undefined>;
17
17
  readonly refreshToken: import("valibot").StringSchema<undefined>;
18
18
  readonly user: import("valibot").ObjectSchema<{
19
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
19
20
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
21
+ readonly emailVerified: import("valibot").BooleanSchema<undefined>;
22
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
20
23
  readonly id: import("valibot").StringSchema<undefined>;
24
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
25
+ readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
26
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
21
27
  }, undefined>;
22
28
  }, undefined>;
23
29
  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"}
@@ -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<"INVALID_REFRESH_TOKEN", undefined>;
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>;
@@ -232,8 +232,14 @@ export declare const marcoSDK: {
232
232
  readonly accessToken: import("valibot").StringSchema<undefined>;
233
233
  readonly refreshToken: import("valibot").StringSchema<undefined>;
234
234
  readonly user: import("valibot").ObjectSchema<{
235
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
235
236
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
237
+ readonly emailVerified: import("valibot").BooleanSchema<undefined>;
238
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
236
239
  readonly id: import("valibot").StringSchema<undefined>;
240
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
241
+ readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
242
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
237
243
  }, undefined>;
238
244
  }, undefined>;
239
245
  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"}
@@ -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<"INVALID_REFRESH_TOKEN", undefined>;
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<"INVALID_REFRESH_TOKEN", undefined>;
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('INVALID_REFRESH_TOKEN'),
23
+ code: v.literal('AUTH_REFRESH_TOKEN_INVALID'),
24
24
  status: v.literal(401),
25
25
  });
26
26
  export const userNotFoundErrorSchema = v.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.149",
3
+ "version": "2.0.151",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",