@marcoappio/marco-config 2.0.137 → 2.0.138

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.
@@ -243,6 +243,9 @@ export declare const endpoints: {
243
243
  }, undefined>, import("valibot").ObjectSchema<{
244
244
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
245
245
  readonly status: import("valibot").LiteralSchema<502, undefined>;
246
+ }, undefined>, import("valibot").ObjectSchema<{
247
+ readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
248
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
246
249
  }, undefined>, import("valibot").ObjectSchema<{
247
250
  readonly data: import("valibot").ObjectSchema<{
248
251
  readonly accessToken: import("valibot").StringSchema<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"}
@@ -25,6 +25,9 @@ export declare const auth: {
25
25
  }, undefined>, import("valibot").ObjectSchema<{
26
26
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
27
27
  readonly status: import("valibot").LiteralSchema<502, undefined>;
28
+ }, undefined>, import("valibot").ObjectSchema<{
29
+ readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
30
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
28
31
  }, undefined>, import("valibot").ObjectSchema<{
29
32
  readonly data: import("valibot").ObjectSchema<{
30
33
  readonly accessToken: import("valibot").StringSchema<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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGhB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGhB,CAAA"}
@@ -14,6 +14,9 @@ export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/p
14
14
  }, undefined>, v.ObjectSchema<{
15
15
  readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
16
16
  readonly status: v.LiteralSchema<502, undefined>;
17
+ }, undefined>, v.ObjectSchema<{
18
+ readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
19
+ readonly status: v.LiteralSchema<404, undefined>;
17
20
  }, undefined>, v.ObjectSchema<{
18
21
  readonly data: v.ObjectSchema<{
19
22
  readonly accessToken: v.StringSchema<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;;;;;;;;;;;;;;;;;;;;;;2BAqBzB,CAAA"}
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;;;;;;;;;;;;;;;;;;;;;;;;;2BAsBzB,CAAA"}
@@ -14,6 +14,7 @@ export const verifyAuthCode = createEndpoint({
14
14
  errorManifest.authCodeExpiredErrorSchema,
15
15
  errorManifest.authCodePreviouslyUsedErrorSchema,
16
16
  errorManifest.authServerResponseUnexpectedErrorSchema,
17
+ errorManifest.userNotFoundErrorSchema,
17
18
  v.object({
18
19
  data: v.object({
19
20
  accessToken: v.string(),
@@ -26,6 +26,9 @@ export declare const publicGroup: {
26
26
  }, undefined>, import("valibot").ObjectSchema<{
27
27
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
28
28
  readonly status: import("valibot").LiteralSchema<502, undefined>;
29
+ }, undefined>, import("valibot").ObjectSchema<{
30
+ readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
31
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
29
32
  }, undefined>, import("valibot").ObjectSchema<{
30
33
  readonly data: import("valibot").ObjectSchema<{
31
34
  readonly accessToken: import("valibot").StringSchema<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"}
@@ -242,6 +242,9 @@ export declare const marcoSDK: {
242
242
  }, undefined>, import("valibot").ObjectSchema<{
243
243
  readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
244
244
  readonly status: import("valibot").LiteralSchema<502, undefined>;
245
+ }, undefined>, import("valibot").ObjectSchema<{
246
+ readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
247
+ readonly status: import("valibot").LiteralSchema<404, undefined>;
245
248
  }, undefined>, import("valibot").ObjectSchema<{
246
249
  readonly data: import("valibot").ObjectSchema<{
247
250
  readonly accessToken: import("valibot").StringSchema<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"}
@@ -15,6 +15,10 @@ export declare const authenticationFailedErrorSchema: v.ObjectSchema<{
15
15
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
16
16
  readonly status: v.LiteralSchema<401, undefined>;
17
17
  }, undefined>;
18
+ export declare const userNotFoundErrorSchema: v.ObjectSchema<{
19
+ readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
20
+ readonly status: v.LiteralSchema<404, undefined>;
21
+ }, undefined>;
18
22
  export declare const messageNotFoundErrorSchema: v.ObjectSchema<{
19
23
  readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
20
24
  readonly status: v.LiteralSchema<404, undefined>;
@@ -44,6 +48,10 @@ export declare const errorManifest: {
44
48
  readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
45
49
  readonly status: v.LiteralSchema<404, undefined>;
46
50
  }, undefined>;
51
+ userNotFoundErrorSchema: v.ObjectSchema<{
52
+ readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
53
+ readonly status: v.LiteralSchema<404, undefined>;
54
+ }, undefined>;
47
55
  validationFailedErrorSchema: v.ObjectSchema<{
48
56
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
49
57
  readonly status: v.LiteralSchema<400, 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,0BAA0B;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;aAGtC,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;CAOD,CAAA"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQD,CAAA"}
@@ -15,6 +15,10 @@ export const authenticationFailedErrorSchema = v.object({
15
15
  code: v.literal('AUTHENTICATION_FAILED'),
16
16
  status: v.literal(401),
17
17
  });
18
+ export const userNotFoundErrorSchema = v.object({
19
+ code: v.literal('USER_NOT_FOUND'),
20
+ status: v.literal(404),
21
+ });
18
22
  export const messageNotFoundErrorSchema = v.object({
19
23
  code: v.literal('MESSAGE_NOT_FOUND'),
20
24
  status: v.literal(404),
@@ -29,5 +33,6 @@ export const errorManifest = {
29
33
  authServerResponseUnexpectedErrorSchema,
30
34
  authenticationFailedErrorSchema,
31
35
  messageNotFoundErrorSchema,
36
+ userNotFoundErrorSchema,
32
37
  validationFailedErrorSchema,
33
38
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.137",
3
+ "version": "2.0.138",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",