@marcoappio/marco-config 2.0.119 → 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.
@@ -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<"VERIFY_AUTH_CODE::INVALID_CODE", undefined>;
93
- readonly status: import("valibot").LiteralSchema<400, undefined>;
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<{
@@ -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,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<"VERIFY_AUTH_CODE::INVALID_CODE", undefined>;
9
- readonly status: import("valibot").LiteralSchema<400, undefined>;
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<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
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<"VERIFY_AUTH_CODE::INVALID_CODE", undefined>;
9
- readonly status: v.LiteralSchema<400, undefined>;
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;;;;;;;;;;;;;;;;;;;2BA0BtB,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;;;;;;;;;;;;;;;;;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
- v.object({
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 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<"VERIFY_AUTH_CODE::INVALID_CODE", undefined>;
10
- readonly status: import("valibot").LiteralSchema<400, undefined>;
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<{
@@ -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"}
@@ -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<"VERIFY_AUTH_CODE::INVALID_CODE", undefined>;
92
- readonly status: import("valibot").LiteralSchema<400, undefined>;
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<{
@@ -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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.119",
3
+ "version": "2.0.120",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",