@marcoappio/marco-config 11.0.2 → 11.0.3

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.
@@ -128,6 +128,11 @@ export declare const endpoints: {
128
128
  }, undefined>;
129
129
  }, undefined>;
130
130
  readonly status: import("valibot").LiteralSchema<400, undefined>;
131
+ }, undefined>, import("valibot").StrictObjectSchema<{
132
+ readonly data: import("valibot").StrictObjectSchema<{
133
+ readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
134
+ }, undefined>;
135
+ readonly status: import("valibot").LiteralSchema<502, undefined>;
131
136
  }, undefined>, import("valibot").StrictObjectSchema<{
132
137
  readonly status: import("valibot").LiteralSchema<204, undefined>;
133
138
  }, undefined>], undefined>>;
@@ -276,6 +281,31 @@ export declare const endpoints: {
276
281
  }, undefined>;
277
282
  readonly status: import("valibot").LiteralSchema<200, undefined>;
278
283
  }, undefined>], undefined>>;
284
+ revokeSession: EndpointConfig<"/v1/pb/auth/session/revoke", import("valibot").StrictObjectSchema<{
285
+ readonly accessToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
286
+ }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
287
+ readonly data: import("valibot").ObjectSchema<{
288
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
289
+ readonly issues: import("valibot").ObjectSchema<{
290
+ readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
291
+ readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
292
+ readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
293
+ }, undefined>;
294
+ }, undefined>;
295
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
296
+ }, undefined>, import("valibot").ObjectSchema<{
297
+ readonly data: import("valibot").ObjectSchema<{
298
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
299
+ }, undefined>;
300
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
301
+ }, undefined>, import("valibot").ObjectSchema<{
302
+ readonly data: import("valibot").ObjectSchema<{
303
+ readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
304
+ }, undefined>;
305
+ readonly status: import("valibot").LiteralSchema<502, undefined>;
306
+ }, undefined>, import("valibot").StrictObjectSchema<{
307
+ readonly status: import("valibot").LiteralSchema<204, undefined>;
308
+ }, undefined>], undefined>>;
279
309
  sendAuthCode: EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
280
310
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
281
311
  }, undefined>, GenericSchema | 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,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAWtE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAWtE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -11,6 +11,11 @@ export declare const deleteSession: import("../../../../..").EndpointConfig<"/v1
11
11
  }, undefined>;
12
12
  }, undefined>;
13
13
  readonly status: v.LiteralSchema<400, undefined>;
14
+ }, undefined>, v.StrictObjectSchema<{
15
+ readonly data: v.StrictObjectSchema<{
16
+ readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
17
+ }, undefined>;
18
+ readonly status: v.LiteralSchema<502, undefined>;
14
19
  }, undefined>, v.StrictObjectSchema<{
15
20
  readonly status: v.LiteralSchema<204, undefined>;
16
21
  }, undefined>], undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"deleteSession.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/public/auth/browser/deleteSession.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;2BAUxB,CAAA"}
1
+ {"version":3,"file":"deleteSession.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/public/auth/browser/deleteSession.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;2BAWxB,CAAA"}
@@ -7,6 +7,7 @@ export const deleteSession = createEndpoint({
7
7
  query: browserAuthQuerySchema,
8
8
  response: v.union([
9
9
  browserErrorSchemas.validationFailed,
10
+ browserErrorSchemas.authServerResponseUnexpected,
10
11
  v.strictObject({
11
12
  status: v.literal(204),
12
13
  }),
@@ -11,6 +11,11 @@ export declare const browser: {
11
11
  }, undefined>;
12
12
  }, undefined>;
13
13
  readonly status: import("valibot").LiteralSchema<400, undefined>;
14
+ }, undefined>, import("valibot").StrictObjectSchema<{
15
+ readonly data: import("valibot").StrictObjectSchema<{
16
+ readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
17
+ }, undefined>;
18
+ readonly status: import("valibot").LiteralSchema<502, undefined>;
14
19
  }, undefined>, import("valibot").StrictObjectSchema<{
15
20
  readonly status: import("valibot").LiteralSchema<204, undefined>;
16
21
  }, undefined>], undefined>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/public/auth/browser/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAInB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/public/auth/browser/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAInB,CAAA"}
@@ -12,6 +12,11 @@ export declare const auth: {
12
12
  }, undefined>;
13
13
  }, undefined>;
14
14
  readonly status: import("valibot").LiteralSchema<400, undefined>;
15
+ }, undefined>, import("valibot").StrictObjectSchema<{
16
+ readonly data: import("valibot").StrictObjectSchema<{
17
+ readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
18
+ }, undefined>;
19
+ readonly status: import("valibot").LiteralSchema<502, undefined>;
15
20
  }, undefined>, import("valibot").StrictObjectSchema<{
16
21
  readonly status: import("valibot").LiteralSchema<204, undefined>;
17
22
  }, undefined>], undefined>>;
@@ -160,6 +165,31 @@ export declare const auth: {
160
165
  }, undefined>;
161
166
  readonly status: import("valibot").LiteralSchema<200, undefined>;
162
167
  }, undefined>], undefined>>;
168
+ revokeSession: import("../../../..").EndpointConfig<"/v1/pb/auth/session/revoke", import("valibot").StrictObjectSchema<{
169
+ readonly accessToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
170
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
171
+ readonly data: import("valibot").ObjectSchema<{
172
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
173
+ readonly issues: import("valibot").ObjectSchema<{
174
+ readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
175
+ readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
176
+ readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
177
+ }, undefined>;
178
+ }, undefined>;
179
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
180
+ }, undefined>, import("valibot").ObjectSchema<{
181
+ readonly data: import("valibot").ObjectSchema<{
182
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
183
+ }, undefined>;
184
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
185
+ }, undefined>, import("valibot").ObjectSchema<{
186
+ readonly data: import("valibot").ObjectSchema<{
187
+ readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
188
+ }, undefined>;
189
+ readonly status: import("valibot").LiteralSchema<502, undefined>;
190
+ }, undefined>, import("valibot").StrictObjectSchema<{
191
+ readonly status: import("valibot").LiteralSchema<204, undefined>;
192
+ }, undefined>], undefined>>;
163
193
  sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
164
194
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
165
195
  }, undefined>, import("valibot").GenericSchema | 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":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAA"}
@@ -1,10 +1,12 @@
1
1
  import { browser } from './browser';
2
2
  import { refreshAuth } from './refreshAuth';
3
+ import { revokeSession } from './revokeSession';
3
4
  import { sendAuthCode } from './sendAuthCode';
4
5
  import { verifyAuthCode } from './verifyAuthCode';
5
6
  export const auth = {
6
7
  browser,
7
8
  refreshAuth,
9
+ revokeSession,
8
10
  sendAuthCode,
9
11
  verifyAuthCode,
10
12
  };
@@ -0,0 +1,27 @@
1
+ import * as v from 'valibot';
2
+ export declare const revokeSession: import("../../../..").EndpointConfig<"/v1/pb/auth/session/revoke", v.StrictObjectSchema<{
3
+ readonly accessToken: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
5
+ readonly data: v.ObjectSchema<{
6
+ readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
7
+ readonly issues: v.ObjectSchema<{
8
+ readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
9
+ readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
10
+ readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
11
+ }, undefined>;
12
+ }, undefined>;
13
+ readonly status: v.LiteralSchema<400, undefined>;
14
+ }, undefined>, v.ObjectSchema<{
15
+ readonly data: v.ObjectSchema<{
16
+ readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
17
+ }, undefined>;
18
+ readonly status: v.LiteralSchema<401, undefined>;
19
+ }, undefined>, v.ObjectSchema<{
20
+ readonly data: v.ObjectSchema<{
21
+ readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
22
+ }, undefined>;
23
+ readonly status: v.LiteralSchema<502, undefined>;
24
+ }, undefined>, v.StrictObjectSchema<{
25
+ readonly status: v.LiteralSchema<204, undefined>;
26
+ }, undefined>], undefined>>;
27
+ //# sourceMappingURL=revokeSession.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revokeSession.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/revokeSession.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;2BAcxB,CAAA"}
@@ -0,0 +1,19 @@
1
+ import * as v from 'valibot';
2
+ import { marcoSchemas } from '../../../../schemas';
3
+ import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
4
+ import { errors } from '../../../../sdk/validation/errors';
5
+ export const revokeSession = createEndpoint({
6
+ body: v.strictObject({
7
+ accessToken: marcoSchemas.string.required(),
8
+ }),
9
+ method: 'POST',
10
+ path: '/v1/pb/auth/session/revoke',
11
+ response: v.union([
12
+ errors.validationFailedErrorSchema,
13
+ errors.authFailedErrorSchema,
14
+ errors.authServerResponseUnexpectedErrorSchema,
15
+ v.strictObject({
16
+ status: v.literal(204),
17
+ }),
18
+ ]),
19
+ });
@@ -13,6 +13,11 @@ export declare const publicGroup: {
13
13
  }, undefined>;
14
14
  }, undefined>;
15
15
  readonly status: import("valibot").LiteralSchema<400, undefined>;
16
+ }, undefined>, import("valibot").StrictObjectSchema<{
17
+ readonly data: import("valibot").StrictObjectSchema<{
18
+ readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
19
+ }, undefined>;
20
+ readonly status: import("valibot").LiteralSchema<502, undefined>;
16
21
  }, undefined>, import("valibot").StrictObjectSchema<{
17
22
  readonly status: import("valibot").LiteralSchema<204, undefined>;
18
23
  }, undefined>], undefined>>;
@@ -161,6 +166,31 @@ export declare const publicGroup: {
161
166
  }, undefined>;
162
167
  readonly status: import("valibot").LiteralSchema<200, undefined>;
163
168
  }, undefined>], undefined>>;
169
+ revokeSession: import("../../..").EndpointConfig<"/v1/pb/auth/session/revoke", import("valibot").StrictObjectSchema<{
170
+ readonly accessToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
171
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
172
+ readonly data: import("valibot").ObjectSchema<{
173
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
174
+ readonly issues: import("valibot").ObjectSchema<{
175
+ readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
176
+ readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
177
+ readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
178
+ }, undefined>;
179
+ }, undefined>;
180
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
181
+ }, undefined>, import("valibot").ObjectSchema<{
182
+ readonly data: import("valibot").ObjectSchema<{
183
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
184
+ }, undefined>;
185
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
186
+ }, undefined>, import("valibot").ObjectSchema<{
187
+ readonly data: import("valibot").ObjectSchema<{
188
+ readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
189
+ }, undefined>;
190
+ readonly status: import("valibot").LiteralSchema<502, undefined>;
191
+ }, undefined>, import("valibot").StrictObjectSchema<{
192
+ readonly status: import("valibot").LiteralSchema<204, undefined>;
193
+ }, undefined>], undefined>>;
164
194
  sendAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
165
195
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
166
196
  }, undefined>, import("valibot").GenericSchema | 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":"AAIA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAA"}
@@ -127,6 +127,11 @@ export declare const marcoSDK: {
127
127
  }, undefined>;
128
128
  }, undefined>;
129
129
  readonly status: import("valibot").LiteralSchema<400, undefined>;
130
+ }, undefined>, import("valibot").StrictObjectSchema<{
131
+ readonly data: import("valibot").StrictObjectSchema<{
132
+ readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
133
+ }, undefined>;
134
+ readonly status: import("valibot").LiteralSchema<502, undefined>;
130
135
  }, undefined>, import("valibot").StrictObjectSchema<{
131
136
  readonly status: import("valibot").LiteralSchema<204, undefined>;
132
137
  }, undefined>], undefined>>;
@@ -275,6 +280,31 @@ export declare const marcoSDK: {
275
280
  }, undefined>;
276
281
  readonly status: import("valibot").LiteralSchema<200, undefined>;
277
282
  }, undefined>], undefined>>;
283
+ revokeSession: import("..").EndpointConfig<"/v1/pb/auth/session/revoke", import("valibot").StrictObjectSchema<{
284
+ readonly accessToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
285
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
286
+ readonly data: import("valibot").ObjectSchema<{
287
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
288
+ readonly issues: import("valibot").ObjectSchema<{
289
+ readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
290
+ readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
291
+ readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
292
+ }, undefined>;
293
+ }, undefined>;
294
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
295
+ }, undefined>, import("valibot").ObjectSchema<{
296
+ readonly data: import("valibot").ObjectSchema<{
297
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
298
+ }, undefined>;
299
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
300
+ }, undefined>, import("valibot").ObjectSchema<{
301
+ readonly data: import("valibot").ObjectSchema<{
302
+ readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
303
+ }, undefined>;
304
+ readonly status: import("valibot").LiteralSchema<502, undefined>;
305
+ }, undefined>, import("valibot").StrictObjectSchema<{
306
+ readonly status: import("valibot").LiteralSchema<204, undefined>;
307
+ }, undefined>], undefined>>;
278
308
  sendAuthCode: import("..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
279
309
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
280
310
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[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": "11.0.2",
3
+ "version": "11.0.3",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",