@marcoappio/marco-config 2.0.160 → 2.0.161
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 +11 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/email-message/email-message-html-get.d.ts +11 -0
- package/dist/sdk/endpoints/private/email-message/email-message-html-get.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/email-message/email-message-html-get.js +14 -0
- package/dist/sdk/endpoints/private/email-message/index.d.ts +12 -0
- package/dist/sdk/endpoints/private/email-message/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/email-message/index.js +4 -0
- package/dist/sdk/endpoints/private/index.d.ts +11 -0
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.js +2 -0
- package/dist/sdk/index.d.ts +11 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,17 @@ import { GenericSchema } from 'valibot';
|
|
|
2
2
|
import { EndpointConfig } from '../../types';
|
|
3
3
|
export declare const endpoints: {
|
|
4
4
|
private: {
|
|
5
|
+
emailMessage: {
|
|
6
|
+
htmlGet: EndpointConfig<"/v1/pv/message/:messageId/html", GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
7
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
8
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
9
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
10
|
+
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
11
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
12
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
13
|
+
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
14
|
+
}, undefined>], undefined>>;
|
|
15
|
+
};
|
|
5
16
|
sync: {
|
|
6
17
|
pull: {
|
|
7
18
|
account: EndpointConfig<"/v1/pv/sync/pull/account", 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
|
|
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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const emailMessageHtmlGet: import("../../../..").EndpointConfig<"/v1/pv/message/:messageId/html", v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
3
|
+
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
4
|
+
readonly status: v.LiteralSchema<401, undefined>;
|
|
5
|
+
}, undefined>, v.ObjectSchema<{
|
|
6
|
+
readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
7
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
8
|
+
}, undefined>, v.ObjectSchema<{
|
|
9
|
+
readonly status: v.LiteralSchema<204, undefined>;
|
|
10
|
+
}, undefined>], undefined>>;
|
|
11
|
+
//# sourceMappingURL=email-message-html-get.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-message-html-get.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/email-message/email-message-html-get.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,eAAO,MAAM,mBAAmB;;;;;;;;2BAU9B,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
3
|
+
import { authenticationFailedErrorSchema, messageNotFoundErrorSchema } from '../../../../sdk/validation/errors';
|
|
4
|
+
export const emailMessageHtmlGet = createEndpoint({
|
|
5
|
+
method: 'GET',
|
|
6
|
+
path: '/v1/pv/message/:messageId/html',
|
|
7
|
+
response: v.union([
|
|
8
|
+
authenticationFailedErrorSchema,
|
|
9
|
+
messageNotFoundErrorSchema,
|
|
10
|
+
v.object({
|
|
11
|
+
status: v.literal(204),
|
|
12
|
+
}),
|
|
13
|
+
]),
|
|
14
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const emailMessage: {
|
|
2
|
+
htmlGet: import("../../../..").EndpointConfig<"/v1/pv/message/:messageId/html", 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<"AUTHENTICATION_FAILED", undefined>;
|
|
4
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
5
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
6
|
+
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
7
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
8
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
9
|
+
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
10
|
+
}, undefined>], undefined>>;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/email-message/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;CAExB,CAAA"}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
export declare const privateGroup: {
|
|
2
|
+
emailMessage: {
|
|
3
|
+
htmlGet: import("../../..").EndpointConfig<"/v1/pv/message/:messageId/html", 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<{
|
|
4
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
5
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
6
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
7
|
+
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
8
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
9
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
10
|
+
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
11
|
+
}, undefined>], undefined>>;
|
|
12
|
+
};
|
|
2
13
|
sync: {
|
|
3
14
|
pull: {
|
|
4
15
|
account: import("../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
export declare const marcoSDK: {
|
|
2
2
|
endpoints: {
|
|
3
3
|
private: {
|
|
4
|
+
emailMessage: {
|
|
5
|
+
htmlGet: import("..").EndpointConfig<"/v1/pv/message/:messageId/html", 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<{
|
|
6
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
7
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
8
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
9
|
+
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
10
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
11
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
12
|
+
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
13
|
+
}, undefined>], undefined>>;
|
|
14
|
+
};
|
|
4
15
|
sync: {
|
|
5
16
|
pull: {
|
|
6
17
|
account: import("..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|