@marcoappio/marco-config 2.0.161 → 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 +71 -13
- 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} +6 -3
- 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} +5 -2
- package/dist/sdk/endpoints/private/{email-message → emailMessage}/index.d.ts +5 -2
- 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 +71 -13
- 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 +71 -13
- 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
|
@@ -99,7 +99,12 @@ export declare const push: {
|
|
|
99
99
|
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
100
100
|
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>;
|
|
101
101
|
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>;
|
|
102
|
-
readonly content: import("valibot").
|
|
102
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
103
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
104
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
105
|
+
}, undefined>, undefined>;
|
|
106
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
107
|
+
}, undefined>;
|
|
103
108
|
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>;
|
|
104
109
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
105
110
|
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>;
|
|
@@ -107,7 +112,12 @@ export declare const push: {
|
|
|
107
112
|
readonly entries: {
|
|
108
113
|
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>;
|
|
109
114
|
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>;
|
|
110
|
-
readonly content: import("valibot").OptionalSchema<import("valibot").
|
|
115
|
+
readonly content: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
116
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
117
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
118
|
+
}, undefined>, undefined>;
|
|
119
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
120
|
+
}, undefined>, undefined>;
|
|
111
121
|
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>;
|
|
112
122
|
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>;
|
|
113
123
|
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>;
|
|
@@ -115,44 +125,79 @@ export declare const push: {
|
|
|
115
125
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
116
126
|
bcc?: string[] | undefined;
|
|
117
127
|
cc?: string[] | undefined;
|
|
128
|
+
content?: {
|
|
129
|
+
type: "doc";
|
|
130
|
+
content: ({
|
|
131
|
+
type: string;
|
|
132
|
+
} & {
|
|
133
|
+
[key: string]: unknown;
|
|
134
|
+
})[];
|
|
135
|
+
} | undefined;
|
|
118
136
|
replyTo?: string[] | undefined;
|
|
119
137
|
to?: string[] | undefined;
|
|
120
|
-
content?: unknown;
|
|
121
138
|
subject?: string | undefined;
|
|
122
139
|
}, {
|
|
123
140
|
bcc?: string[] | undefined;
|
|
124
141
|
cc?: string[] | undefined;
|
|
142
|
+
content?: {
|
|
143
|
+
type: "doc";
|
|
144
|
+
content: ({
|
|
145
|
+
type: string;
|
|
146
|
+
} & {
|
|
147
|
+
[key: string]: unknown;
|
|
148
|
+
})[];
|
|
149
|
+
} | undefined;
|
|
125
150
|
replyTo?: string[] | undefined;
|
|
126
151
|
to?: string[] | undefined;
|
|
127
|
-
content?: unknown;
|
|
128
152
|
subject?: string | undefined;
|
|
129
153
|
}>;
|
|
130
154
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
131
155
|
bcc?: string[] | undefined;
|
|
132
156
|
cc?: string[] | undefined;
|
|
157
|
+
content?: {
|
|
158
|
+
type: "doc";
|
|
159
|
+
content: ({
|
|
160
|
+
type: string;
|
|
161
|
+
} & {
|
|
162
|
+
[key: string]: unknown;
|
|
163
|
+
})[];
|
|
164
|
+
} | undefined;
|
|
133
165
|
replyTo?: string[] | undefined;
|
|
134
166
|
to?: string[] | undefined;
|
|
135
|
-
content?: unknown;
|
|
136
167
|
subject?: string | undefined;
|
|
137
|
-
}, 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>;
|
|
168
|
+
}, 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>;
|
|
138
169
|
readonly '~types'?: {
|
|
139
170
|
readonly input: {
|
|
140
171
|
bcc?: string[] | undefined;
|
|
141
172
|
cc?: string[] | undefined;
|
|
173
|
+
content?: {
|
|
174
|
+
type: "doc";
|
|
175
|
+
content: ({
|
|
176
|
+
type: string;
|
|
177
|
+
} & {
|
|
178
|
+
[key: string]: unknown;
|
|
179
|
+
})[];
|
|
180
|
+
} | undefined;
|
|
142
181
|
replyTo?: string[] | undefined;
|
|
143
182
|
to?: string[] | undefined;
|
|
144
|
-
content?: unknown;
|
|
145
183
|
subject?: string | undefined;
|
|
146
184
|
};
|
|
147
185
|
readonly output: {
|
|
148
186
|
bcc?: string[] | undefined;
|
|
149
187
|
cc?: string[] | undefined;
|
|
188
|
+
content?: {
|
|
189
|
+
type: "doc";
|
|
190
|
+
content: ({
|
|
191
|
+
type: string;
|
|
192
|
+
} & {
|
|
193
|
+
[key: string]: unknown;
|
|
194
|
+
})[];
|
|
195
|
+
} | undefined;
|
|
150
196
|
replyTo?: string[] | undefined;
|
|
151
197
|
to?: string[] | undefined;
|
|
152
|
-
content?: unknown;
|
|
153
198
|
subject?: string | undefined;
|
|
154
199
|
};
|
|
155
|
-
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;
|
|
200
|
+
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;
|
|
156
201
|
} | undefined;
|
|
157
202
|
};
|
|
158
203
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -165,7 +210,12 @@ export declare const push: {
|
|
|
165
210
|
readonly body: import("valibot").ObjectSchema<{
|
|
166
211
|
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>;
|
|
167
212
|
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>;
|
|
168
|
-
readonly content: import("valibot").
|
|
213
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
214
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
215
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
216
|
+
}, undefined>, undefined>;
|
|
217
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
218
|
+
}, undefined>;
|
|
169
219
|
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>;
|
|
170
220
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
171
221
|
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/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -2,14 +2,17 @@ export declare const marcoSDK: {
|
|
|
2
2
|
endpoints: {
|
|
3
3
|
private: {
|
|
4
4
|
emailMessage: {
|
|
5
|
-
|
|
5
|
+
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<{
|
|
6
6
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
7
7
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
8
8
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
9
9
|
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
10
10
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
11
11
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
12
|
-
readonly
|
|
12
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
13
|
+
readonly html: import("valibot").StringSchema<undefined>;
|
|
14
|
+
}, undefined>;
|
|
15
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
13
16
|
}, undefined>], undefined>>;
|
|
14
17
|
};
|
|
15
18
|
sync: {
|
|
@@ -119,7 +122,12 @@ export declare const marcoSDK: {
|
|
|
119
122
|
readonly body: import("valibot").ObjectSchema<{
|
|
120
123
|
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>;
|
|
121
124
|
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>;
|
|
122
|
-
readonly content: import("valibot").
|
|
125
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
126
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
127
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
128
|
+
}, undefined>, undefined>;
|
|
129
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
130
|
+
}, undefined>;
|
|
123
131
|
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>;
|
|
124
132
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
125
133
|
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>;
|
|
@@ -333,7 +341,12 @@ export declare const marcoSDK: {
|
|
|
333
341
|
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
334
342
|
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>;
|
|
335
343
|
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>;
|
|
336
|
-
readonly content: import("valibot").
|
|
344
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
345
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
346
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
347
|
+
}, undefined>, undefined>;
|
|
348
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
349
|
+
}, undefined>;
|
|
337
350
|
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>;
|
|
338
351
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
339
352
|
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>;
|
|
@@ -341,7 +354,12 @@ export declare const marcoSDK: {
|
|
|
341
354
|
readonly entries: {
|
|
342
355
|
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>;
|
|
343
356
|
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>;
|
|
344
|
-
readonly content: import("valibot").OptionalSchema<import("valibot").
|
|
357
|
+
readonly content: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
358
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
359
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
360
|
+
}, undefined>, undefined>;
|
|
361
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
362
|
+
}, undefined>, undefined>;
|
|
345
363
|
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>;
|
|
346
364
|
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>;
|
|
347
365
|
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>;
|
|
@@ -349,44 +367,79 @@ export declare const marcoSDK: {
|
|
|
349
367
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
350
368
|
bcc?: string[] | undefined;
|
|
351
369
|
cc?: string[] | undefined;
|
|
370
|
+
content?: {
|
|
371
|
+
type: "doc";
|
|
372
|
+
content: ({
|
|
373
|
+
type: string;
|
|
374
|
+
} & {
|
|
375
|
+
[key: string]: unknown;
|
|
376
|
+
})[];
|
|
377
|
+
} | undefined;
|
|
352
378
|
replyTo?: string[] | undefined;
|
|
353
379
|
to?: string[] | undefined;
|
|
354
|
-
content?: unknown;
|
|
355
380
|
subject?: string | undefined;
|
|
356
381
|
}, {
|
|
357
382
|
bcc?: string[] | undefined;
|
|
358
383
|
cc?: string[] | undefined;
|
|
384
|
+
content?: {
|
|
385
|
+
type: "doc";
|
|
386
|
+
content: ({
|
|
387
|
+
type: string;
|
|
388
|
+
} & {
|
|
389
|
+
[key: string]: unknown;
|
|
390
|
+
})[];
|
|
391
|
+
} | undefined;
|
|
359
392
|
replyTo?: string[] | undefined;
|
|
360
393
|
to?: string[] | undefined;
|
|
361
|
-
content?: unknown;
|
|
362
394
|
subject?: string | undefined;
|
|
363
395
|
}>;
|
|
364
396
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
365
397
|
bcc?: string[] | undefined;
|
|
366
398
|
cc?: string[] | undefined;
|
|
399
|
+
content?: {
|
|
400
|
+
type: "doc";
|
|
401
|
+
content: ({
|
|
402
|
+
type: string;
|
|
403
|
+
} & {
|
|
404
|
+
[key: string]: unknown;
|
|
405
|
+
})[];
|
|
406
|
+
} | undefined;
|
|
367
407
|
replyTo?: string[] | undefined;
|
|
368
408
|
to?: string[] | undefined;
|
|
369
|
-
content?: unknown;
|
|
370
409
|
subject?: string | undefined;
|
|
371
|
-
}, 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>;
|
|
410
|
+
}, 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>;
|
|
372
411
|
readonly '~types'?: {
|
|
373
412
|
readonly input: {
|
|
374
413
|
bcc?: string[] | undefined;
|
|
375
414
|
cc?: string[] | undefined;
|
|
415
|
+
content?: {
|
|
416
|
+
type: "doc";
|
|
417
|
+
content: ({
|
|
418
|
+
type: string;
|
|
419
|
+
} & {
|
|
420
|
+
[key: string]: unknown;
|
|
421
|
+
})[];
|
|
422
|
+
} | undefined;
|
|
376
423
|
replyTo?: string[] | undefined;
|
|
377
424
|
to?: string[] | undefined;
|
|
378
|
-
content?: unknown;
|
|
379
425
|
subject?: string | undefined;
|
|
380
426
|
};
|
|
381
427
|
readonly output: {
|
|
382
428
|
bcc?: string[] | undefined;
|
|
383
429
|
cc?: string[] | undefined;
|
|
430
|
+
content?: {
|
|
431
|
+
type: "doc";
|
|
432
|
+
content: ({
|
|
433
|
+
type: string;
|
|
434
|
+
} & {
|
|
435
|
+
[key: string]: unknown;
|
|
436
|
+
})[];
|
|
437
|
+
} | undefined;
|
|
384
438
|
replyTo?: string[] | undefined;
|
|
385
439
|
to?: string[] | undefined;
|
|
386
|
-
content?: unknown;
|
|
387
440
|
subject?: string | undefined;
|
|
388
441
|
};
|
|
389
|
-
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;
|
|
442
|
+
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;
|
|
390
443
|
} | undefined;
|
|
391
444
|
};
|
|
392
445
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -399,7 +452,12 @@ export declare const marcoSDK: {
|
|
|
399
452
|
readonly body: import("valibot").ObjectSchema<{
|
|
400
453
|
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>;
|
|
401
454
|
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>;
|
|
402
|
-
readonly content: import("valibot").
|
|
455
|
+
readonly content: import("valibot").ObjectSchema<{
|
|
456
|
+
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
457
|
+
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
458
|
+
}, undefined>, undefined>;
|
|
459
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
460
|
+
}, undefined>;
|
|
403
461
|
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>;
|
|
404
462
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
405
463
|
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>;
|
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"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|