@marcoappio/marco-config 2.0.162 → 2.0.163
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/clients/draft.d.ts +66 -11
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +8 -1
- package/dist/clients/index.d.ts +66 -11
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.d.ts +67 -12
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/{email-message/email-message-html-get.d.ts → emailMessage/getEmailMessageHTML.d.ts} +2 -2
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/{email-message/email-message-html-get.js → emailMessage/getEmailMessageHTML.js} +1 -1
- package/dist/sdk/endpoints/private/{email-message → emailMessage}/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/emailMessage/index.js +4 -0
- package/dist/sdk/endpoints/private/index.d.ts +67 -12
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.js +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +66 -11
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +6 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +6 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +60 -10
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +60 -10
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +67 -12
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/sdk/endpoints/private/email-message/email-message-html-get.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/email-message/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/email-message/index.js +0 -4
package/dist/clients/draft.d.ts
CHANGED
|
@@ -4,7 +4,12 @@ export declare const draft: {
|
|
|
4
4
|
readonly body: v.ObjectSchema<{
|
|
5
5
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
6
6
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
7
|
-
readonly content: v.
|
|
7
|
+
readonly content: v.ObjectSchema<{
|
|
8
|
+
readonly content: v.ArraySchema<v.LooseObjectSchema<{
|
|
9
|
+
readonly type: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
10
|
+
}, undefined>, undefined>;
|
|
11
|
+
readonly type: v.UnionSchema<[v.LiteralSchema<"doc", undefined>], undefined>;
|
|
12
|
+
}, undefined>;
|
|
8
13
|
readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
9
14
|
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
10
15
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -19,7 +24,12 @@ export declare const draft: {
|
|
|
19
24
|
readonly body: v.ObjectSchema<{
|
|
20
25
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
21
26
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
22
|
-
readonly content: v.
|
|
27
|
+
readonly content: v.ObjectSchema<{
|
|
28
|
+
readonly content: v.ArraySchema<v.LooseObjectSchema<{
|
|
29
|
+
readonly type: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
30
|
+
}, undefined>, undefined>;
|
|
31
|
+
readonly type: v.UnionSchema<[v.LiteralSchema<"doc", undefined>], undefined>;
|
|
32
|
+
}, undefined>;
|
|
23
33
|
readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
24
34
|
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
25
35
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -39,7 +49,12 @@ export declare const draft: {
|
|
|
39
49
|
readonly body: Omit<v.ObjectSchema<{
|
|
40
50
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
41
51
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
42
|
-
readonly content: v.
|
|
52
|
+
readonly content: v.ObjectSchema<{
|
|
53
|
+
readonly content: v.ArraySchema<v.LooseObjectSchema<{
|
|
54
|
+
readonly type: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
55
|
+
}, undefined>, undefined>;
|
|
56
|
+
readonly type: v.UnionSchema<[v.LiteralSchema<"doc", undefined>], undefined>;
|
|
57
|
+
}, undefined>;
|
|
43
58
|
readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
44
59
|
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
45
60
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -47,7 +62,12 @@ export declare const draft: {
|
|
|
47
62
|
readonly entries: {
|
|
48
63
|
readonly bcc: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
49
64
|
readonly cc: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
50
|
-
readonly content: v.OptionalSchema<v.
|
|
65
|
+
readonly content: v.OptionalSchema<v.ObjectSchema<{
|
|
66
|
+
readonly content: v.ArraySchema<v.LooseObjectSchema<{
|
|
67
|
+
readonly type: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
68
|
+
}, undefined>, undefined>;
|
|
69
|
+
readonly type: v.UnionSchema<[v.LiteralSchema<"doc", undefined>], undefined>;
|
|
70
|
+
}, undefined>, undefined>;
|
|
51
71
|
readonly replyTo: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
52
72
|
readonly subject: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
53
73
|
readonly to: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
@@ -55,44 +75,79 @@ export declare const draft: {
|
|
|
55
75
|
readonly '~standard': v.StandardSchemaProps<{
|
|
56
76
|
bcc?: string[] | undefined;
|
|
57
77
|
cc?: string[] | undefined;
|
|
78
|
+
content?: {
|
|
79
|
+
type: "doc";
|
|
80
|
+
content: ({
|
|
81
|
+
type: string;
|
|
82
|
+
} & {
|
|
83
|
+
[key: string]: unknown;
|
|
84
|
+
})[];
|
|
85
|
+
} | undefined;
|
|
58
86
|
replyTo?: string[] | undefined;
|
|
59
87
|
to?: string[] | undefined;
|
|
60
|
-
content?: unknown;
|
|
61
88
|
subject?: string | undefined;
|
|
62
89
|
}, {
|
|
63
90
|
bcc?: string[] | undefined;
|
|
64
91
|
cc?: string[] | undefined;
|
|
92
|
+
content?: {
|
|
93
|
+
type: "doc";
|
|
94
|
+
content: ({
|
|
95
|
+
type: string;
|
|
96
|
+
} & {
|
|
97
|
+
[key: string]: unknown;
|
|
98
|
+
})[];
|
|
99
|
+
} | undefined;
|
|
65
100
|
replyTo?: string[] | undefined;
|
|
66
101
|
to?: string[] | undefined;
|
|
67
|
-
content?: unknown;
|
|
68
102
|
subject?: string | undefined;
|
|
69
103
|
}>;
|
|
70
104
|
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
71
105
|
bcc?: string[] | undefined;
|
|
72
106
|
cc?: string[] | undefined;
|
|
107
|
+
content?: {
|
|
108
|
+
type: "doc";
|
|
109
|
+
content: ({
|
|
110
|
+
type: string;
|
|
111
|
+
} & {
|
|
112
|
+
[key: string]: unknown;
|
|
113
|
+
})[];
|
|
114
|
+
} | undefined;
|
|
73
115
|
replyTo?: string[] | undefined;
|
|
74
116
|
to?: string[] | undefined;
|
|
75
|
-
content?: unknown;
|
|
76
117
|
subject?: string | undefined;
|
|
77
|
-
}, v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.NonOptionalIssue | v.ArrayIssue>;
|
|
118
|
+
}, v.LiteralIssue | v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.UnionIssue<v.LiteralIssue> | v.NonOptionalIssue | v.ArrayIssue | v.LooseObjectIssue>;
|
|
78
119
|
readonly '~types'?: {
|
|
79
120
|
readonly input: {
|
|
80
121
|
bcc?: string[] | undefined;
|
|
81
122
|
cc?: string[] | undefined;
|
|
123
|
+
content?: {
|
|
124
|
+
type: "doc";
|
|
125
|
+
content: ({
|
|
126
|
+
type: string;
|
|
127
|
+
} & {
|
|
128
|
+
[key: string]: unknown;
|
|
129
|
+
})[];
|
|
130
|
+
} | undefined;
|
|
82
131
|
replyTo?: string[] | undefined;
|
|
83
132
|
to?: string[] | undefined;
|
|
84
|
-
content?: unknown;
|
|
85
133
|
subject?: string | undefined;
|
|
86
134
|
};
|
|
87
135
|
readonly output: {
|
|
88
136
|
bcc?: string[] | undefined;
|
|
89
137
|
cc?: string[] | undefined;
|
|
138
|
+
content?: {
|
|
139
|
+
type: "doc";
|
|
140
|
+
content: ({
|
|
141
|
+
type: string;
|
|
142
|
+
} & {
|
|
143
|
+
[key: string]: unknown;
|
|
144
|
+
})[];
|
|
145
|
+
} | undefined;
|
|
90
146
|
replyTo?: string[] | undefined;
|
|
91
147
|
to?: string[] | undefined;
|
|
92
|
-
content?: unknown;
|
|
93
148
|
subject?: string | undefined;
|
|
94
149
|
};
|
|
95
|
-
readonly issue: v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.NonOptionalIssue | v.ArrayIssue;
|
|
150
|
+
readonly issue: v.LiteralIssue | v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.UnionIssue<v.LiteralIssue> | v.NonOptionalIssue | v.ArrayIssue | v.LooseObjectIssue;
|
|
96
151
|
} | undefined;
|
|
97
152
|
};
|
|
98
153
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuB5B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCK,CAAA"}
|
package/dist/clients/draft.js
CHANGED
|
@@ -3,7 +3,14 @@ import { marcoSchemas } from '../schemas';
|
|
|
3
3
|
const body = v.object({
|
|
4
4
|
bcc: v.array(marcoSchemas.string.email()),
|
|
5
5
|
cc: v.array(marcoSchemas.string.email()),
|
|
6
|
-
content: v.
|
|
6
|
+
content: v.object({
|
|
7
|
+
content: v.array(v.looseObject({
|
|
8
|
+
type: marcoSchemas.string.required(),
|
|
9
|
+
})),
|
|
10
|
+
type: v.union([
|
|
11
|
+
v.literal('doc'),
|
|
12
|
+
]),
|
|
13
|
+
}),
|
|
7
14
|
replyTo: v.array(marcoSchemas.string.email()),
|
|
8
15
|
subject: marcoSchemas.string.required(),
|
|
9
16
|
to: v.array(marcoSchemas.string.email()),
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -116,7 +116,12 @@ export declare const marcoClients: {
|
|
|
116
116
|
readonly body: import("valibot").ObjectSchema<{
|
|
117
117
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
118
118
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
119
|
-
readonly content: import("valibot").
|
|
119
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
120
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
121
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
122
|
+
}, undefined>, undefined>;
|
|
123
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
124
|
+
}, undefined>;
|
|
120
125
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
121
126
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
122
127
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -131,7 +136,12 @@ export declare const marcoClients: {
|
|
|
131
136
|
readonly body: import("valibot").ObjectSchema<{
|
|
132
137
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
133
138
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
134
|
-
readonly content: import("valibot").
|
|
139
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
140
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
141
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
142
|
+
}, undefined>, undefined>;
|
|
143
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
144
|
+
}, undefined>;
|
|
135
145
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
136
146
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
137
147
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -151,7 +161,12 @@ export declare const marcoClients: {
|
|
|
151
161
|
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
152
162
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
153
163
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
154
|
-
readonly content: import("valibot").
|
|
164
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
165
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
166
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
167
|
+
}, undefined>, undefined>;
|
|
168
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
169
|
+
}, undefined>;
|
|
155
170
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
156
171
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
157
172
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -159,7 +174,12 @@ export declare const marcoClients: {
|
|
|
159
174
|
readonly entries: {
|
|
160
175
|
readonly bcc: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
161
176
|
readonly cc: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
162
|
-
readonly content: import("valibot").OptionalSchema<import("valibot").
|
|
177
|
+
readonly content: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
178
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
179
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
180
|
+
}, undefined>, undefined>;
|
|
181
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
182
|
+
}, undefined>, undefined>;
|
|
163
183
|
readonly replyTo: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
164
184
|
readonly subject: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
165
185
|
readonly to: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
@@ -167,44 +187,79 @@ export declare const marcoClients: {
|
|
|
167
187
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
168
188
|
bcc?: string[] | undefined;
|
|
169
189
|
cc?: string[] | undefined;
|
|
190
|
+
content?: {
|
|
191
|
+
type: "doc";
|
|
192
|
+
content: ({
|
|
193
|
+
type: string;
|
|
194
|
+
} & {
|
|
195
|
+
[key: string]: unknown;
|
|
196
|
+
})[];
|
|
197
|
+
} | undefined;
|
|
170
198
|
replyTo?: string[] | undefined;
|
|
171
199
|
to?: string[] | undefined;
|
|
172
|
-
content?: unknown;
|
|
173
200
|
subject?: string | undefined;
|
|
174
201
|
}, {
|
|
175
202
|
bcc?: string[] | undefined;
|
|
176
203
|
cc?: string[] | undefined;
|
|
204
|
+
content?: {
|
|
205
|
+
type: "doc";
|
|
206
|
+
content: ({
|
|
207
|
+
type: string;
|
|
208
|
+
} & {
|
|
209
|
+
[key: string]: unknown;
|
|
210
|
+
})[];
|
|
211
|
+
} | undefined;
|
|
177
212
|
replyTo?: string[] | undefined;
|
|
178
213
|
to?: string[] | undefined;
|
|
179
|
-
content?: unknown;
|
|
180
214
|
subject?: string | undefined;
|
|
181
215
|
}>;
|
|
182
216
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
183
217
|
bcc?: string[] | undefined;
|
|
184
218
|
cc?: string[] | undefined;
|
|
219
|
+
content?: {
|
|
220
|
+
type: "doc";
|
|
221
|
+
content: ({
|
|
222
|
+
type: string;
|
|
223
|
+
} & {
|
|
224
|
+
[key: string]: unknown;
|
|
225
|
+
})[];
|
|
226
|
+
} | undefined;
|
|
185
227
|
replyTo?: string[] | undefined;
|
|
186
228
|
to?: string[] | undefined;
|
|
187
|
-
content?: unknown;
|
|
188
229
|
subject?: string | undefined;
|
|
189
|
-
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue>;
|
|
230
|
+
}, import("valibot").LiteralIssue | import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").UnionIssue<import("valibot").LiteralIssue> | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue | import("valibot").LooseObjectIssue>;
|
|
190
231
|
readonly '~types'?: {
|
|
191
232
|
readonly input: {
|
|
192
233
|
bcc?: string[] | undefined;
|
|
193
234
|
cc?: string[] | undefined;
|
|
235
|
+
content?: {
|
|
236
|
+
type: "doc";
|
|
237
|
+
content: ({
|
|
238
|
+
type: string;
|
|
239
|
+
} & {
|
|
240
|
+
[key: string]: unknown;
|
|
241
|
+
})[];
|
|
242
|
+
} | undefined;
|
|
194
243
|
replyTo?: string[] | undefined;
|
|
195
244
|
to?: string[] | undefined;
|
|
196
|
-
content?: unknown;
|
|
197
245
|
subject?: string | undefined;
|
|
198
246
|
};
|
|
199
247
|
readonly output: {
|
|
200
248
|
bcc?: string[] | undefined;
|
|
201
249
|
cc?: string[] | undefined;
|
|
250
|
+
content?: {
|
|
251
|
+
type: "doc";
|
|
252
|
+
content: ({
|
|
253
|
+
type: string;
|
|
254
|
+
} & {
|
|
255
|
+
[key: string]: unknown;
|
|
256
|
+
})[];
|
|
257
|
+
} | undefined;
|
|
202
258
|
replyTo?: string[] | undefined;
|
|
203
259
|
to?: string[] | undefined;
|
|
204
|
-
content?: unknown;
|
|
205
260
|
subject?: string | undefined;
|
|
206
261
|
};
|
|
207
|
-
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue;
|
|
262
|
+
readonly issue: import("valibot").LiteralIssue | import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").UnionIssue<import("valibot").LiteralIssue> | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue | import("valibot").LooseObjectIssue;
|
|
208
263
|
} | undefined;
|
|
209
264
|
};
|
|
210
265
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMc,CAAA"}
|
|
@@ -3,7 +3,7 @@ import { EndpointConfig } from '../../types';
|
|
|
3
3
|
export declare const endpoints: {
|
|
4
4
|
private: {
|
|
5
5
|
emailMessage: {
|
|
6
|
-
|
|
6
|
+
getHTML: 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
7
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
8
8
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
9
9
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -123,7 +123,12 @@ export declare const endpoints: {
|
|
|
123
123
|
readonly body: import("valibot").ObjectSchema<{
|
|
124
124
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
125
125
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
126
|
-
readonly content: import("valibot").
|
|
126
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
127
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
128
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
129
|
+
}, undefined>, undefined>;
|
|
130
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
131
|
+
}, undefined>;
|
|
127
132
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
128
133
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
129
134
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -337,7 +342,12 @@ export declare const endpoints: {
|
|
|
337
342
|
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
338
343
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
339
344
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
340
|
-
readonly content: import("valibot").
|
|
345
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
346
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
347
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
348
|
+
}, undefined>, undefined>;
|
|
349
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
350
|
+
}, undefined>;
|
|
341
351
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
342
352
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
343
353
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -345,7 +355,12 @@ export declare const endpoints: {
|
|
|
345
355
|
readonly entries: {
|
|
346
356
|
readonly bcc: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
347
357
|
readonly cc: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
348
|
-
readonly content: import("valibot").OptionalSchema<import("valibot").
|
|
358
|
+
readonly content: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
359
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
360
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
361
|
+
}, undefined>, undefined>;
|
|
362
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
363
|
+
}, undefined>, undefined>;
|
|
349
364
|
readonly replyTo: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
350
365
|
readonly subject: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
351
366
|
readonly to: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
@@ -353,44 +368,79 @@ export declare const endpoints: {
|
|
|
353
368
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
354
369
|
bcc?: string[] | undefined;
|
|
355
370
|
cc?: string[] | undefined;
|
|
371
|
+
content?: {
|
|
372
|
+
type: "doc";
|
|
373
|
+
content: ({
|
|
374
|
+
type: string;
|
|
375
|
+
} & {
|
|
376
|
+
[key: string]: unknown;
|
|
377
|
+
})[];
|
|
378
|
+
} | undefined;
|
|
356
379
|
replyTo?: string[] | undefined;
|
|
357
380
|
to?: string[] | undefined;
|
|
358
|
-
content?: unknown;
|
|
359
381
|
subject?: string | undefined;
|
|
360
382
|
}, {
|
|
361
383
|
bcc?: string[] | undefined;
|
|
362
384
|
cc?: string[] | undefined;
|
|
385
|
+
content?: {
|
|
386
|
+
type: "doc";
|
|
387
|
+
content: ({
|
|
388
|
+
type: string;
|
|
389
|
+
} & {
|
|
390
|
+
[key: string]: unknown;
|
|
391
|
+
})[];
|
|
392
|
+
} | undefined;
|
|
363
393
|
replyTo?: string[] | undefined;
|
|
364
394
|
to?: string[] | undefined;
|
|
365
|
-
content?: unknown;
|
|
366
395
|
subject?: string | undefined;
|
|
367
396
|
}>;
|
|
368
397
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
369
398
|
bcc?: string[] | undefined;
|
|
370
399
|
cc?: string[] | undefined;
|
|
400
|
+
content?: {
|
|
401
|
+
type: "doc";
|
|
402
|
+
content: ({
|
|
403
|
+
type: string;
|
|
404
|
+
} & {
|
|
405
|
+
[key: string]: unknown;
|
|
406
|
+
})[];
|
|
407
|
+
} | undefined;
|
|
371
408
|
replyTo?: string[] | undefined;
|
|
372
409
|
to?: string[] | undefined;
|
|
373
|
-
content?: unknown;
|
|
374
410
|
subject?: string | undefined;
|
|
375
|
-
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue>;
|
|
411
|
+
}, import("valibot").LiteralIssue | import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").UnionIssue<import("valibot").LiteralIssue> | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue | import("valibot").LooseObjectIssue>;
|
|
376
412
|
readonly '~types'?: {
|
|
377
413
|
readonly input: {
|
|
378
414
|
bcc?: string[] | undefined;
|
|
379
415
|
cc?: string[] | undefined;
|
|
416
|
+
content?: {
|
|
417
|
+
type: "doc";
|
|
418
|
+
content: ({
|
|
419
|
+
type: string;
|
|
420
|
+
} & {
|
|
421
|
+
[key: string]: unknown;
|
|
422
|
+
})[];
|
|
423
|
+
} | undefined;
|
|
380
424
|
replyTo?: string[] | undefined;
|
|
381
425
|
to?: string[] | undefined;
|
|
382
|
-
content?: unknown;
|
|
383
426
|
subject?: string | undefined;
|
|
384
427
|
};
|
|
385
428
|
readonly output: {
|
|
386
429
|
bcc?: string[] | undefined;
|
|
387
430
|
cc?: string[] | undefined;
|
|
431
|
+
content?: {
|
|
432
|
+
type: "doc";
|
|
433
|
+
content: ({
|
|
434
|
+
type: string;
|
|
435
|
+
} & {
|
|
436
|
+
[key: string]: unknown;
|
|
437
|
+
})[];
|
|
438
|
+
} | undefined;
|
|
388
439
|
replyTo?: string[] | undefined;
|
|
389
440
|
to?: string[] | undefined;
|
|
390
|
-
content?: unknown;
|
|
391
441
|
subject?: string | undefined;
|
|
392
442
|
};
|
|
393
|
-
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue;
|
|
443
|
+
readonly issue: import("valibot").LiteralIssue | import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").UnionIssue<import("valibot").LiteralIssue> | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue | import("valibot").LooseObjectIssue;
|
|
394
444
|
} | undefined;
|
|
395
445
|
};
|
|
396
446
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -403,7 +453,12 @@ export declare const endpoints: {
|
|
|
403
453
|
readonly body: import("valibot").ObjectSchema<{
|
|
404
454
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
405
455
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
406
|
-
readonly content: import("valibot").
|
|
456
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
457
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
458
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
459
|
+
}, undefined>, undefined>;
|
|
460
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
461
|
+
}, undefined>;
|
|
407
462
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
408
463
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
409
464
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const getEmailMessageHTML: 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
3
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
4
4
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
5
5
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -11,4 +11,4 @@ export declare const emailMessageHtmlGet: import("../../../..").EndpointConfig<"
|
|
|
11
11
|
}, undefined>;
|
|
12
12
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
13
13
|
}, undefined>], undefined>>;
|
|
14
|
-
//# sourceMappingURL=
|
|
14
|
+
//# sourceMappingURL=getEmailMessageHTML.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEmailMessageHTML.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/getEmailMessageHTML.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,eAAO,MAAM,mBAAmB;;;;;;;;;;;2BAa9B,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
3
3
|
import { authenticationFailedErrorSchema, messageNotFoundErrorSchema } from '../../../../sdk/validation/errors';
|
|
4
|
-
export const
|
|
4
|
+
export const getEmailMessageHTML = createEndpoint({
|
|
5
5
|
method: 'GET',
|
|
6
6
|
path: '/v1/pv/message/:messageId/html',
|
|
7
7
|
response: v.union([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const emailMessage: {
|
|
2
|
-
|
|
2
|
+
getHTML: 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
3
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
4
4
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
5
5
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAExB,CAAA"}
|