@marcoappio/marco-config 2.0.160 → 2.0.162

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.
@@ -2,6 +2,20 @@ 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 data: import("valibot").ObjectSchema<{
14
+ readonly html: import("valibot").StringSchema<undefined>;
15
+ }, undefined>;
16
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
17
+ }, undefined>], undefined>>;
18
+ };
5
19
  sync: {
6
20
  pull: {
7
21
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -0,0 +1,14 @@
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 data: v.ObjectSchema<{
10
+ readonly html: v.StringSchema<undefined>;
11
+ }, undefined>;
12
+ readonly status: v.LiteralSchema<200, undefined>;
13
+ }, undefined>], undefined>>;
14
+ //# 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;;;;;;;;;;;2BAa9B,CAAA"}
@@ -0,0 +1,17 @@
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
+ data: v.object({
12
+ html: v.string(),
13
+ }),
14
+ status: v.literal(200),
15
+ }),
16
+ ]),
17
+ });
@@ -0,0 +1,15 @@
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 data: import("valibot").ObjectSchema<{
10
+ readonly html: import("valibot").StringSchema<undefined>;
11
+ }, undefined>;
12
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
13
+ }, undefined>], undefined>>;
14
+ };
15
+ //# 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"}
@@ -0,0 +1,4 @@
1
+ import { emailMessageHtmlGet } from './email-message-html-get';
2
+ export const emailMessage = {
3
+ htmlGet: emailMessageHtmlGet,
4
+ };
@@ -1,4 +1,18 @@
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 data: import("valibot").ObjectSchema<{
11
+ readonly html: import("valibot").StringSchema<undefined>;
12
+ }, undefined>;
13
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
14
+ }, undefined>], undefined>>;
15
+ };
2
16
  sync: {
3
17
  pull: {
4
18
  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":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
@@ -1,6 +1,8 @@
1
+ import { emailMessage } from './email-message';
1
2
  import { sync } from './sync';
2
3
  import { user } from './user';
3
4
  export const privateGroup = {
5
+ emailMessage,
4
6
  sync,
5
7
  user,
6
8
  };
@@ -1,6 +1,20 @@
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 data: import("valibot").ObjectSchema<{
13
+ readonly html: import("valibot").StringSchema<undefined>;
14
+ }, undefined>;
15
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
16
+ }, undefined>], undefined>>;
17
+ };
4
18
  sync: {
5
19
  pull: {
6
20
  account: import("..").EndpointConfig<"/v1/pv/sync/pull/account", 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.160",
3
+ "version": "2.0.162",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",