@marcoappio/marco-config 2.0.117 → 2.0.119
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 +82 -38
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.js +0 -2
- package/dist/sdk/endpoints/private/index.d.ts +77 -23
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.js +2 -4
- package/dist/sdk/endpoints/private/sync/index.d.ts +79 -0
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/sync/index.js +3 -0
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +42 -0
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/sync/pull/account.js +29 -0
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +43 -0
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/sync/pull/index.js +2 -0
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +34 -0
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/sync/push/account.js +31 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +35 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/sync/push/index.js +2 -0
- package/dist/sdk/endpoints/public/auth/index.d.ts +5 -7
- package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +3 -5
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +1 -8
- package/dist/sdk/endpoints/public/index.d.ts +5 -7
- package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +82 -38
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +30 -0
- package/dist/sdk/validation/errors.d.ts.map +1 -0
- package/dist/sdk/validation/errors.js +19 -0
- package/package.json +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getText.d.ts +0 -16
- package/dist/sdk/endpoints/private/emailMessage/getText.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/emailMessage/getText.js +0 -23
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +0 -17
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/emailMessage/index.js +0 -4
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts +0 -8
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/user/deleteUser.js +0 -14
- package/dist/sdk/endpoints/private/user/index.d.ts +0 -9
- package/dist/sdk/endpoints/private/user/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/user/index.js +0 -4
- package/dist/sdk/endpoints/webhook/emailEngine.d.ts +0 -8
- package/dist/sdk/endpoints/webhook/emailEngine.d.ts.map +0 -1
- package/dist/sdk/endpoints/webhook/emailEngine.js +0 -12
- package/dist/sdk/endpoints/webhook/index.d.ts +0 -9
- package/dist/sdk/endpoints/webhook/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/webhook/index.js +0 -4
- package/dist/sdk/validation/errors/index.d.ts +0 -15
- package/dist/sdk/validation/errors/index.d.ts.map +0 -1
- package/dist/sdk/validation/errors/index.js +0 -8
- package/dist/sdk/validation/errors/unauthenticated.d.ts +0 -6
- package/dist/sdk/validation/errors/unauthenticated.d.ts.map +0 -1
- package/dist/sdk/validation/errors/unauthenticated.js +0 -5
- package/dist/sdk/validation/errors/unexpected.d.ts +0 -6
- package/dist/sdk/validation/errors/unexpected.d.ts.map +0 -1
- package/dist/sdk/validation/errors/unexpected.js +0 -5
- package/dist/sdk/validation/errors/validationFailed.d.ts +0 -6
- package/dist/sdk/validation/errors/validationFailed.d.ts.map +0 -1
- package/dist/sdk/validation/errors/validationFailed.js +0 -5
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"emailEngine.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/webhook/emailEngine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,WAAW;;;;;2BAOtB,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { createEndpoint } from '../../../sdk/endpoints/createEndpointConfig';
|
|
3
|
-
import { errorManifest } from '../../../sdk/validation/errors';
|
|
4
|
-
import { HTTPMethod } from '../../../types';
|
|
5
|
-
export const emailEngine = createEndpoint({
|
|
6
|
-
method: HTTPMethod.POST,
|
|
7
|
-
path: '/v1/wh/email-engine',
|
|
8
|
-
response: v.union([
|
|
9
|
-
errorManifest.unauthenticatedErrorSchema,
|
|
10
|
-
v.object({ status: v.literal(200) }),
|
|
11
|
-
]),
|
|
12
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const webhook: {
|
|
2
|
-
emailEngine: import("../../..").EndpointConfig<"/v1/wh/email-engine", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
3
|
-
readonly code: import("valibot").LiteralSchema<"::UNAUTHENTICATED", undefined>;
|
|
4
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
5
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
6
|
-
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
7
|
-
}, undefined>], undefined>>;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/webhook/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;CAEnB,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const errorManifest: {
|
|
2
|
-
unauthenticatedErrorSchema: import("valibot").ObjectSchema<{
|
|
3
|
-
readonly code: import("valibot").LiteralSchema<"::UNAUTHENTICATED", undefined>;
|
|
4
|
-
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
5
|
-
}, undefined>;
|
|
6
|
-
unexpectedErrorSchema: import("valibot").ObjectSchema<{
|
|
7
|
-
readonly code: import("valibot").LiteralSchema<"::UNEXPECTED", undefined>;
|
|
8
|
-
readonly status: import("valibot").LiteralSchema<500, undefined>;
|
|
9
|
-
}, undefined>;
|
|
10
|
-
validationFailedErrorSchema: import("valibot").ObjectSchema<{
|
|
11
|
-
readonly code: import("valibot").LiteralSchema<"::VALIDATION_FAILED", undefined>;
|
|
12
|
-
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
13
|
-
}, undefined>;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/validation/errors/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,aAAa;;;;;;;;;;;;;CAID,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { unauthenticatedErrorSchema } from './unauthenticated';
|
|
2
|
-
import { unexpectedErrorSchema } from './unexpected';
|
|
3
|
-
import { validationFailedErrorSchema } from './validationFailed';
|
|
4
|
-
export const errorManifest = {
|
|
5
|
-
unauthenticatedErrorSchema,
|
|
6
|
-
unexpectedErrorSchema,
|
|
7
|
-
validationFailedErrorSchema,
|
|
8
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
export declare const unauthenticatedErrorSchema: v.ObjectSchema<{
|
|
3
|
-
readonly code: v.LiteralSchema<"::UNAUTHENTICATED", undefined>;
|
|
4
|
-
readonly status: v.LiteralSchema<401, undefined>;
|
|
5
|
-
}, undefined>;
|
|
6
|
-
//# sourceMappingURL=unauthenticated.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unauthenticated.d.ts","sourceRoot":"","sources":["../../../../src/sdk/validation/errors/unauthenticated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,0BAA0B;;;aAGrC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unexpected.d.ts","sourceRoot":"","sources":["../../../../src/sdk/validation/errors/unexpected.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
export declare const validationFailedErrorSchema: v.ObjectSchema<{
|
|
3
|
-
readonly code: v.LiteralSchema<"::VALIDATION_FAILED", undefined>;
|
|
4
|
-
readonly status: v.LiteralSchema<400, undefined>;
|
|
5
|
-
}, undefined>;
|
|
6
|
-
//# sourceMappingURL=validationFailed.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validationFailed.d.ts","sourceRoot":"","sources":["../../../../src/sdk/validation/errors/validationFailed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,2BAA2B;;;aAGtC,CAAA"}
|