@marcoappio/marco-config 2.0.158 → 2.0.160
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 +107 -0
- package/dist/clients/draft.d.ts.map +1 -0
- package/dist/clients/draft.js +43 -0
- package/dist/clients/index.d.ts +105 -0
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/index.js +2 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/sdk/endpoints/index.d.ts +140 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +140 -0
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +140 -0
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +40 -0
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/sync/pull/draft.js +28 -0
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +38 -0
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.js +2 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +104 -0
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/sync/push/draft.js +36 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +102 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/index.js +2 -1
- package/dist/sdk/index.d.ts +140 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/utils/accounts/generateAccountColor.d.ts +2 -0
- package/dist/utils/accounts/generateAccountColor.d.ts.map +1 -0
- package/dist/utils/accounts/generateAccountColor.js +38 -0
- package/dist/utils/accounts/index.d.ts +4 -0
- package/dist/utils/accounts/index.d.ts.map +1 -0
- package/dist/utils/accounts/index.js +4 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const draft: {
|
|
3
|
+
model: v.ObjectSchema<{
|
|
4
|
+
readonly body: v.ObjectSchema<{
|
|
5
|
+
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
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.UnknownSchema;
|
|
8
|
+
readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
9
|
+
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
10
|
+
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
11
|
+
}, undefined>;
|
|
12
|
+
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
13
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
14
|
+
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
mutators: {
|
|
17
|
+
create: {
|
|
18
|
+
delta: v.ObjectSchema<{
|
|
19
|
+
readonly body: v.ObjectSchema<{
|
|
20
|
+
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
21
|
+
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.UnknownSchema;
|
|
23
|
+
readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
24
|
+
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
25
|
+
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
26
|
+
}, undefined>;
|
|
27
|
+
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
28
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
29
|
+
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
};
|
|
32
|
+
delete: {
|
|
33
|
+
delta: v.ObjectSchema<{
|
|
34
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
35
|
+
}, undefined>;
|
|
36
|
+
};
|
|
37
|
+
update: {
|
|
38
|
+
delta: v.ObjectSchema<{
|
|
39
|
+
readonly body: Omit<v.ObjectSchema<{
|
|
40
|
+
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
41
|
+
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.UnknownSchema;
|
|
43
|
+
readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
44
|
+
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
45
|
+
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
46
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
47
|
+
readonly entries: {
|
|
48
|
+
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
|
+
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.UnknownSchema, undefined>;
|
|
51
|
+
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
|
+
readonly subject: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
53
|
+
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>;
|
|
54
|
+
};
|
|
55
|
+
readonly '~standard': v.StandardSchemaProps<{
|
|
56
|
+
bcc?: string[] | undefined;
|
|
57
|
+
cc?: string[] | undefined;
|
|
58
|
+
replyTo?: string[] | undefined;
|
|
59
|
+
to?: string[] | undefined;
|
|
60
|
+
content?: unknown;
|
|
61
|
+
subject?: string | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
bcc?: string[] | undefined;
|
|
64
|
+
cc?: string[] | undefined;
|
|
65
|
+
replyTo?: string[] | undefined;
|
|
66
|
+
to?: string[] | undefined;
|
|
67
|
+
content?: unknown;
|
|
68
|
+
subject?: string | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
71
|
+
bcc?: string[] | undefined;
|
|
72
|
+
cc?: string[] | undefined;
|
|
73
|
+
replyTo?: string[] | undefined;
|
|
74
|
+
to?: string[] | undefined;
|
|
75
|
+
content?: unknown;
|
|
76
|
+
subject?: string | undefined;
|
|
77
|
+
}, v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.NonOptionalIssue | v.ArrayIssue>;
|
|
78
|
+
readonly '~types'?: {
|
|
79
|
+
readonly input: {
|
|
80
|
+
bcc?: string[] | undefined;
|
|
81
|
+
cc?: string[] | undefined;
|
|
82
|
+
replyTo?: string[] | undefined;
|
|
83
|
+
to?: string[] | undefined;
|
|
84
|
+
content?: unknown;
|
|
85
|
+
subject?: string | undefined;
|
|
86
|
+
};
|
|
87
|
+
readonly output: {
|
|
88
|
+
bcc?: string[] | undefined;
|
|
89
|
+
cc?: string[] | undefined;
|
|
90
|
+
replyTo?: string[] | undefined;
|
|
91
|
+
to?: string[] | undefined;
|
|
92
|
+
content?: unknown;
|
|
93
|
+
subject?: string | undefined;
|
|
94
|
+
};
|
|
95
|
+
readonly issue: v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.NonOptionalIssue | v.ArrayIssue;
|
|
96
|
+
} | undefined;
|
|
97
|
+
};
|
|
98
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
99
|
+
}, undefined>;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
name: "draft";
|
|
103
|
+
pullURL: "/v1/pv/sync/pull/draft";
|
|
104
|
+
pushURL: "/v1/pv/sync/push/draft";
|
|
105
|
+
schemaVersion: "v1";
|
|
106
|
+
};
|
|
107
|
+
//# sourceMappingURL=draft.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCK,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { marcoSchemas } from '../schemas';
|
|
3
|
+
const body = v.object({
|
|
4
|
+
bcc: v.array(marcoSchemas.string.email()),
|
|
5
|
+
cc: v.array(marcoSchemas.string.email()),
|
|
6
|
+
content: v.unknown(),
|
|
7
|
+
replyTo: v.array(marcoSchemas.string.email()),
|
|
8
|
+
subject: marcoSchemas.string.required(),
|
|
9
|
+
to: v.array(marcoSchemas.string.email()),
|
|
10
|
+
});
|
|
11
|
+
export const draft = {
|
|
12
|
+
model: v.object({
|
|
13
|
+
body: body,
|
|
14
|
+
emailAccountId: marcoSchemas.string.required(),
|
|
15
|
+
id: marcoSchemas.string.required(),
|
|
16
|
+
referencedMessageId: marcoSchemas.string.nullable(),
|
|
17
|
+
}),
|
|
18
|
+
mutators: {
|
|
19
|
+
create: {
|
|
20
|
+
delta: v.object({
|
|
21
|
+
body: body,
|
|
22
|
+
emailAccountId: marcoSchemas.string.required(),
|
|
23
|
+
id: marcoSchemas.string.required(),
|
|
24
|
+
referencedMessageId: marcoSchemas.string.nullable(),
|
|
25
|
+
}),
|
|
26
|
+
},
|
|
27
|
+
delete: {
|
|
28
|
+
delta: v.object({
|
|
29
|
+
id: marcoSchemas.string.required(),
|
|
30
|
+
}),
|
|
31
|
+
},
|
|
32
|
+
update: {
|
|
33
|
+
delta: v.object({
|
|
34
|
+
body: v.partial(body),
|
|
35
|
+
id: marcoSchemas.string.required(),
|
|
36
|
+
}),
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
name: 'draft',
|
|
40
|
+
pullURL: '/v1/pv/sync/pull/draft',
|
|
41
|
+
pushURL: '/v1/pv/sync/push/draft',
|
|
42
|
+
schemaVersion: 'v1',
|
|
43
|
+
};
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -111,6 +111,111 @@ export declare const marcoClients: {
|
|
|
111
111
|
pushURL: null;
|
|
112
112
|
schemaVersion: "v1";
|
|
113
113
|
};
|
|
114
|
+
draft: {
|
|
115
|
+
model: import("valibot").ObjectSchema<{
|
|
116
|
+
readonly body: import("valibot").ObjectSchema<{
|
|
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
|
+
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").UnknownSchema;
|
|
120
|
+
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
|
+
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
|
+
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>;
|
|
123
|
+
}, undefined>;
|
|
124
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
125
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
126
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
127
|
+
}, undefined>;
|
|
128
|
+
mutators: {
|
|
129
|
+
create: {
|
|
130
|
+
delta: import("valibot").ObjectSchema<{
|
|
131
|
+
readonly body: import("valibot").ObjectSchema<{
|
|
132
|
+
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
|
+
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").UnknownSchema;
|
|
135
|
+
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
|
+
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
|
+
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>;
|
|
138
|
+
}, undefined>;
|
|
139
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
140
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
141
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
142
|
+
}, undefined>;
|
|
143
|
+
};
|
|
144
|
+
delete: {
|
|
145
|
+
delta: import("valibot").ObjectSchema<{
|
|
146
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
147
|
+
}, undefined>;
|
|
148
|
+
};
|
|
149
|
+
update: {
|
|
150
|
+
delta: import("valibot").ObjectSchema<{
|
|
151
|
+
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
152
|
+
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
|
+
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").UnknownSchema;
|
|
155
|
+
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
|
+
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
|
+
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>;
|
|
158
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
159
|
+
readonly entries: {
|
|
160
|
+
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
|
+
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").UnknownSchema, undefined>;
|
|
163
|
+
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
|
+
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
|
+
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>;
|
|
166
|
+
};
|
|
167
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
168
|
+
bcc?: string[] | undefined;
|
|
169
|
+
cc?: string[] | undefined;
|
|
170
|
+
replyTo?: string[] | undefined;
|
|
171
|
+
to?: string[] | undefined;
|
|
172
|
+
content?: unknown;
|
|
173
|
+
subject?: string | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
bcc?: string[] | undefined;
|
|
176
|
+
cc?: string[] | undefined;
|
|
177
|
+
replyTo?: string[] | undefined;
|
|
178
|
+
to?: string[] | undefined;
|
|
179
|
+
content?: unknown;
|
|
180
|
+
subject?: string | undefined;
|
|
181
|
+
}>;
|
|
182
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
183
|
+
bcc?: string[] | undefined;
|
|
184
|
+
cc?: string[] | undefined;
|
|
185
|
+
replyTo?: string[] | undefined;
|
|
186
|
+
to?: string[] | undefined;
|
|
187
|
+
content?: unknown;
|
|
188
|
+
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>;
|
|
190
|
+
readonly '~types'?: {
|
|
191
|
+
readonly input: {
|
|
192
|
+
bcc?: string[] | undefined;
|
|
193
|
+
cc?: string[] | undefined;
|
|
194
|
+
replyTo?: string[] | undefined;
|
|
195
|
+
to?: string[] | undefined;
|
|
196
|
+
content?: unknown;
|
|
197
|
+
subject?: string | undefined;
|
|
198
|
+
};
|
|
199
|
+
readonly output: {
|
|
200
|
+
bcc?: string[] | undefined;
|
|
201
|
+
cc?: string[] | undefined;
|
|
202
|
+
replyTo?: string[] | undefined;
|
|
203
|
+
to?: string[] | undefined;
|
|
204
|
+
content?: unknown;
|
|
205
|
+
subject?: string | undefined;
|
|
206
|
+
};
|
|
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;
|
|
208
|
+
} | undefined;
|
|
209
|
+
};
|
|
210
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
211
|
+
}, undefined>;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
name: "draft";
|
|
215
|
+
pullURL: "/v1/pv/sync/pull/draft";
|
|
216
|
+
pushURL: "/v1/pv/sync/push/draft";
|
|
217
|
+
schemaVersion: "v1";
|
|
218
|
+
};
|
|
114
219
|
thread: {
|
|
115
220
|
model: import("valibot").ObjectSchema<{
|
|
116
221
|
readonly emailAccountId: 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":"
|
|
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"}
|
package/dist/clients/index.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { account } from './account';
|
|
2
2
|
import { contact } from './contact';
|
|
3
|
+
import { draft } from './draft';
|
|
3
4
|
import { thread } from './thread';
|
|
4
5
|
import { user } from './user';
|
|
5
6
|
export { marcoClientsUtils } from './utils';
|
|
6
7
|
export const marcoClients = {
|
|
7
8
|
account,
|
|
8
9
|
contact,
|
|
10
|
+
draft,
|
|
9
11
|
thread,
|
|
10
12
|
user,
|
|
11
13
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
export { accountUtils } from './utils';
|
|
1
2
|
export { marcoClients, marcoClientsUtils } from './clients';
|
|
2
3
|
export { marcoPublicConfig, MARCO_ENV, MarcoEnvironment } from './marcoPublicConfig';
|
|
3
|
-
export { marcoSDK } from './sdk';
|
|
4
|
-
export { MarcoWSEvent, MarcoClient, MarcoWSSyncPoke, EndpointConfig, EndpointError, EndpointResponse, LabelSpecialUse } from './types';
|
|
5
4
|
export { marcoSchemas } from './schemas';
|
|
5
|
+
export { marcoSDK } from './sdk';
|
|
6
6
|
export { marcoWS } from './ws';
|
|
7
|
+
export { MarcoWSEvent, MarcoClient, MarcoWSSyncPoke, EndpointConfig, EndpointError, EndpointResponse, LabelSpecialUse } from './types';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACpF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
export { accountUtils } from './utils';
|
|
1
2
|
export { marcoClients, marcoClientsUtils } from './clients';
|
|
2
3
|
export { marcoPublicConfig, MARCO_ENV } from './marcoPublicConfig';
|
|
3
|
-
export { marcoSDK } from './sdk';
|
|
4
4
|
export { marcoSchemas } from './schemas';
|
|
5
|
+
export { marcoSDK } from './sdk';
|
|
5
6
|
export { marcoWS } from './ws';
|
|
@@ -84,6 +84,44 @@ export declare const endpoints: {
|
|
|
84
84
|
}, undefined>;
|
|
85
85
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
86
86
|
}, undefined>], undefined>>;
|
|
87
|
+
draft: EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
88
|
+
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
89
|
+
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
90
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
91
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
92
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
93
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
94
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
95
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
96
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
97
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
98
|
+
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
99
|
+
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
100
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
101
|
+
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
102
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
103
|
+
readonly key: import("valibot").StringSchema<undefined>;
|
|
104
|
+
readonly op: import("valibot").LiteralSchema<"del", undefined>;
|
|
105
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
106
|
+
readonly key: import("valibot").StringSchema<undefined>;
|
|
107
|
+
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
108
|
+
readonly value: import("valibot").ObjectSchema<{
|
|
109
|
+
readonly body: import("valibot").ObjectSchema<{
|
|
110
|
+
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>;
|
|
111
|
+
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>;
|
|
112
|
+
readonly content: import("valibot").UnknownSchema;
|
|
113
|
+
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>;
|
|
114
|
+
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
115
|
+
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>;
|
|
116
|
+
}, undefined>;
|
|
117
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
118
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
119
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
120
|
+
}, undefined>;
|
|
121
|
+
}, undefined>], undefined>, undefined>;
|
|
122
|
+
}, undefined>;
|
|
123
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
124
|
+
}, undefined>], undefined>>;
|
|
87
125
|
thread: EndpointConfig<"/v1/pv/sync/pull/thread", import("valibot").ObjectSchema<{
|
|
88
126
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
89
127
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
@@ -271,6 +309,108 @@ export declare const endpoints: {
|
|
|
271
309
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
272
310
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
273
311
|
}, undefined>], undefined>>;
|
|
312
|
+
draft: EndpointConfig<"/v1/pv/sync/push/draft", import("valibot").ObjectSchema<{
|
|
313
|
+
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
314
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
315
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
316
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
317
|
+
}, undefined>;
|
|
318
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
319
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
320
|
+
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
321
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
322
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
323
|
+
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
324
|
+
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>;
|
|
325
|
+
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>;
|
|
326
|
+
readonly content: import("valibot").UnknownSchema;
|
|
327
|
+
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>;
|
|
328
|
+
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
329
|
+
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>;
|
|
330
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
331
|
+
readonly entries: {
|
|
332
|
+
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>;
|
|
333
|
+
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>;
|
|
334
|
+
readonly content: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
335
|
+
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>;
|
|
336
|
+
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>;
|
|
337
|
+
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>;
|
|
338
|
+
};
|
|
339
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
340
|
+
bcc?: string[] | undefined;
|
|
341
|
+
cc?: string[] | undefined;
|
|
342
|
+
replyTo?: string[] | undefined;
|
|
343
|
+
to?: string[] | undefined;
|
|
344
|
+
content?: unknown;
|
|
345
|
+
subject?: string | undefined;
|
|
346
|
+
}, {
|
|
347
|
+
bcc?: string[] | undefined;
|
|
348
|
+
cc?: string[] | undefined;
|
|
349
|
+
replyTo?: string[] | undefined;
|
|
350
|
+
to?: string[] | undefined;
|
|
351
|
+
content?: unknown;
|
|
352
|
+
subject?: string | undefined;
|
|
353
|
+
}>;
|
|
354
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
355
|
+
bcc?: string[] | undefined;
|
|
356
|
+
cc?: string[] | undefined;
|
|
357
|
+
replyTo?: string[] | undefined;
|
|
358
|
+
to?: string[] | undefined;
|
|
359
|
+
content?: unknown;
|
|
360
|
+
subject?: string | undefined;
|
|
361
|
+
}, 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>;
|
|
362
|
+
readonly '~types'?: {
|
|
363
|
+
readonly input: {
|
|
364
|
+
bcc?: string[] | undefined;
|
|
365
|
+
cc?: string[] | undefined;
|
|
366
|
+
replyTo?: string[] | undefined;
|
|
367
|
+
to?: string[] | undefined;
|
|
368
|
+
content?: unknown;
|
|
369
|
+
subject?: string | undefined;
|
|
370
|
+
};
|
|
371
|
+
readonly output: {
|
|
372
|
+
bcc?: string[] | undefined;
|
|
373
|
+
cc?: string[] | undefined;
|
|
374
|
+
replyTo?: string[] | undefined;
|
|
375
|
+
to?: string[] | undefined;
|
|
376
|
+
content?: unknown;
|
|
377
|
+
subject?: string | undefined;
|
|
378
|
+
};
|
|
379
|
+
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;
|
|
380
|
+
} | undefined;
|
|
381
|
+
};
|
|
382
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
383
|
+
}, undefined>;
|
|
384
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
385
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
386
|
+
readonly name: import("valibot").LiteralSchema<"update", undefined>;
|
|
387
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
388
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
389
|
+
readonly body: import("valibot").ObjectSchema<{
|
|
390
|
+
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>;
|
|
391
|
+
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>;
|
|
392
|
+
readonly content: import("valibot").UnknownSchema;
|
|
393
|
+
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>;
|
|
394
|
+
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
395
|
+
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>;
|
|
396
|
+
}, undefined>;
|
|
397
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
398
|
+
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
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
400
|
+
}, undefined>;
|
|
401
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
402
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
403
|
+
readonly name: import("valibot").LiteralSchema<"create", undefined>;
|
|
404
|
+
}, undefined>], undefined>, undefined>;
|
|
405
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
406
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
407
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
408
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
409
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
410
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
411
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
412
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
413
|
+
}, undefined>], undefined>>;
|
|
274
414
|
thread: EndpointConfig<"/v1/pv/sync/push/thread", import("valibot").ObjectSchema<{
|
|
275
415
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
276
416
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[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"}
|