@marcoappio/marco-config 2.0.302 → 2.0.304
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/account.d.ts +16 -16
- package/dist/clients/account.js +1 -1
- package/dist/clients/contact.d.ts +1 -1
- package/dist/clients/draft.d.ts +22 -22
- package/dist/clients/index.d.ts +55 -55
- package/dist/clients/thread.d.ts +14 -14
- package/dist/clients/user.d.ts +2 -2
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/string.d.ts +1 -1
- package/dist/schemas/string.d.ts.map +1 -1
- package/dist/schemas/string.js +1 -1
- package/dist/sdk/endpoints/index.d.ts +55 -55
- package/dist/sdk/endpoints/private/index.d.ts +55 -55
- package/dist/sdk/endpoints/private/sync/index.d.ts +55 -55
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +14 -14
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +5 -5
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +13 -13
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +18 -18
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +41 -41
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +9 -9
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +1 -1
- package/dist/sdk/index.d.ts +55 -55
- package/package.json +1 -1
|
@@ -33,14 +33,14 @@ export declare const pull: {
|
|
|
33
33
|
readonly aliases: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
34
34
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
35
35
|
readonly hidden: import("valibot").BooleanSchema<undefined>;
|
|
36
|
-
readonly id: import("valibot").
|
|
36
|
+
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
37
37
|
readonly primary: import("valibot").BooleanSchema<undefined>;
|
|
38
38
|
}, undefined>, undefined>;
|
|
39
39
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
40
|
-
readonly id: import("valibot").
|
|
40
|
+
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
41
41
|
readonly imapConnectionStatus: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_CONNECTION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_OAUTH_GOOGLE_EXCHANGE_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_AUTHENTICATION_ERROR", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED_UNKNOWN_ERROR", undefined>], undefined>;
|
|
42
42
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
43
|
-
readonly id: import("valibot").
|
|
43
|
+
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
44
44
|
readonly mailCounts: import("valibot").ObjectSchema<{
|
|
45
45
|
readonly processed: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
46
46
|
readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
@@ -90,7 +90,7 @@ export declare const pull: {
|
|
|
90
90
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
91
91
|
readonly value: import("valibot").ObjectSchema<{
|
|
92
92
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
93
|
-
readonly id: import("valibot").
|
|
93
|
+
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
94
94
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
95
95
|
}, undefined>;
|
|
96
96
|
}, undefined>], undefined>, undefined>;
|
|
@@ -131,7 +131,7 @@ export declare const pull: {
|
|
|
131
131
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
132
132
|
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
133
133
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
134
|
-
readonly id: import("valibot").
|
|
134
|
+
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
135
135
|
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
136
136
|
readonly totalChunks: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
137
137
|
readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -144,10 +144,10 @@ export declare const pull: {
|
|
|
144
144
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
145
145
|
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>;
|
|
146
146
|
}, undefined>;
|
|
147
|
-
readonly emailAccountId: import("valibot").
|
|
147
|
+
readonly emailAccountId: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
148
148
|
readonly error: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
149
|
-
readonly id: import("valibot").
|
|
150
|
-
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").
|
|
149
|
+
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
150
|
+
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>, undefined>;
|
|
151
151
|
readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
152
152
|
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SEND_REQUESTED", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, import("valibot").LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
|
|
153
153
|
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"NEW", undefined>, import("valibot").LiteralSchema<"REPLY", undefined>, import("valibot").LiteralSchema<"FORWARD", undefined>], undefined>;
|
|
@@ -206,11 +206,11 @@ export declare const pull: {
|
|
|
206
206
|
readonly bagOfWords: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
207
207
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
208
208
|
readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
209
|
-
readonly id: import("valibot").
|
|
209
|
+
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
210
210
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
211
211
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
212
212
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
213
|
-
readonly id: import("valibot").
|
|
213
|
+
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
214
214
|
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
215
215
|
readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
216
216
|
}, undefined>, undefined>;
|
|
@@ -222,15 +222,15 @@ export declare const pull: {
|
|
|
222
222
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
223
223
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
224
224
|
}, undefined>, undefined>;
|
|
225
|
-
readonly draftId: import("valibot").NullableSchema<import("valibot").
|
|
225
|
+
readonly draftId: import("valibot").NullableSchema<import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>, undefined>;
|
|
226
226
|
readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
227
227
|
readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
228
228
|
readonly from: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
229
229
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
230
230
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
231
231
|
}, undefined>, undefined>;
|
|
232
|
-
readonly id: import("valibot").
|
|
233
|
-
readonly labelIds: import("valibot").ArraySchema<import("valibot").
|
|
232
|
+
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
233
|
+
readonly labelIds: import("valibot").ArraySchema<import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>, undefined>;
|
|
234
234
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
235
235
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
236
236
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -278,7 +278,7 @@ export declare const pull: {
|
|
|
278
278
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
279
279
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
280
280
|
readonly value: import("valibot").ObjectSchema<{
|
|
281
|
-
readonly id: import("valibot").
|
|
281
|
+
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
282
282
|
readonly settings: import("valibot").ObjectSchema<{
|
|
283
283
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
284
284
|
}, undefined>;
|
|
@@ -48,11 +48,11 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
48
48
|
readonly bagOfWords: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
49
49
|
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
50
50
|
readonly flagged: v.NonOptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
51
|
-
readonly id: v.
|
|
51
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
52
52
|
readonly messages: v.ArraySchema<v.ObjectSchema<{
|
|
53
53
|
readonly attachments: v.ArraySchema<v.ObjectSchema<{
|
|
54
54
|
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
55
|
-
readonly id: v.
|
|
55
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
56
56
|
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
57
57
|
readonly size: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
58
58
|
}, undefined>, undefined>;
|
|
@@ -64,15 +64,15 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
64
64
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
65
65
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
66
66
|
}, undefined>, undefined>;
|
|
67
|
-
readonly draftId: v.NullableSchema<v.
|
|
67
|
+
readonly draftId: v.NullableSchema<v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
|
|
68
68
|
readonly envelopeDate: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
69
69
|
readonly envelopeSubject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
70
70
|
readonly from: v.ArraySchema<v.ObjectSchema<{
|
|
71
71
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
72
72
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
73
73
|
}, undefined>, undefined>;
|
|
74
|
-
readonly id: v.
|
|
75
|
-
readonly labelIds: v.ArraySchema<v.
|
|
74
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
75
|
+
readonly labelIds: v.ArraySchema<v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
|
|
76
76
|
readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
77
77
|
readonly replyTo: v.ArraySchema<v.ObjectSchema<{
|
|
78
78
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -30,7 +30,7 @@ export declare const syncPullUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
30
30
|
readonly key: v.StringSchema<undefined>;
|
|
31
31
|
readonly op: v.LiteralSchema<"put", undefined>;
|
|
32
32
|
readonly value: v.ObjectSchema<{
|
|
33
|
-
readonly id: v.
|
|
33
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
34
34
|
readonly settings: v.ObjectSchema<{
|
|
35
35
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
36
36
|
}, undefined>;
|
|
@@ -5,18 +5,18 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
5
5
|
readonly args: v.ObjectSchema<{
|
|
6
6
|
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
7
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
8
|
-
readonly id: v.
|
|
8
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
9
9
|
}, undefined>;
|
|
10
10
|
readonly clientID: v.StringSchema<undefined>;
|
|
11
11
|
readonly id: v.NumberSchema<undefined>;
|
|
12
12
|
readonly name: v.LiteralSchema<"createAccount", undefined>;
|
|
13
13
|
}, undefined> | v.ObjectSchema<{
|
|
14
14
|
readonly args: v.ObjectSchema<{
|
|
15
|
-
readonly accountId: v.
|
|
15
|
+
readonly accountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
16
16
|
readonly alias: v.ObjectSchema<{
|
|
17
17
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
18
18
|
readonly hidden: v.BooleanSchema<undefined>;
|
|
19
|
-
readonly id: v.
|
|
19
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
20
20
|
readonly primary: v.BooleanSchema<undefined>;
|
|
21
21
|
}, undefined>;
|
|
22
22
|
}, undefined>;
|
|
@@ -25,23 +25,23 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
25
25
|
readonly name: v.LiteralSchema<"createAlias", undefined>;
|
|
26
26
|
}, undefined> | v.ObjectSchema<{
|
|
27
27
|
readonly args: v.ObjectSchema<{
|
|
28
|
-
readonly id: v.
|
|
28
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
29
29
|
}, undefined>;
|
|
30
30
|
readonly clientID: v.StringSchema<undefined>;
|
|
31
31
|
readonly id: v.NumberSchema<undefined>;
|
|
32
32
|
readonly name: v.LiteralSchema<"deleteAccount", undefined>;
|
|
33
33
|
}, undefined> | v.ObjectSchema<{
|
|
34
34
|
readonly args: v.ObjectSchema<{
|
|
35
|
-
readonly accountId: v.
|
|
36
|
-
readonly aliasId: v.
|
|
35
|
+
readonly accountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
36
|
+
readonly aliasId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
37
37
|
}, undefined>;
|
|
38
38
|
readonly clientID: v.StringSchema<undefined>;
|
|
39
39
|
readonly id: v.NumberSchema<undefined>;
|
|
40
40
|
readonly name: v.LiteralSchema<"deleteAlias", undefined>;
|
|
41
41
|
}, undefined> | v.ObjectSchema<{
|
|
42
42
|
readonly args: v.ObjectSchema<{
|
|
43
|
-
readonly accountId: v.
|
|
44
|
-
readonly aliasId: v.
|
|
43
|
+
readonly accountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
44
|
+
readonly aliasId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
45
45
|
readonly hidden: v.BooleanSchema<undefined>;
|
|
46
46
|
}, undefined>;
|
|
47
47
|
readonly clientID: v.StringSchema<undefined>;
|
|
@@ -49,8 +49,8 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
49
49
|
readonly name: v.LiteralSchema<"setAliasHidden", undefined>;
|
|
50
50
|
}, undefined> | v.ObjectSchema<{
|
|
51
51
|
readonly args: v.ObjectSchema<{
|
|
52
|
-
readonly accountId: v.
|
|
53
|
-
readonly aliasId: v.
|
|
52
|
+
readonly accountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
53
|
+
readonly aliasId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
54
54
|
}, undefined>;
|
|
55
55
|
readonly clientID: v.StringSchema<undefined>;
|
|
56
56
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -65,7 +65,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
65
65
|
readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
66
66
|
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
67
67
|
}, undefined>;
|
|
68
|
-
readonly id: v.
|
|
68
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
69
69
|
}, undefined>;
|
|
70
70
|
readonly clientID: v.StringSchema<undefined>;
|
|
71
71
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -76,14 +76,14 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
76
76
|
readonly code: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
77
77
|
readonly provider: v.LiteralSchema<"GOOGLE", undefined>;
|
|
78
78
|
}, undefined>;
|
|
79
|
-
readonly id: v.
|
|
79
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
80
80
|
}, undefined>;
|
|
81
81
|
readonly clientID: v.StringSchema<undefined>;
|
|
82
82
|
readonly id: v.NumberSchema<undefined>;
|
|
83
83
|
readonly name: v.LiteralSchema<"setConnectionConfigOauth", undefined>;
|
|
84
84
|
}, undefined> | v.ObjectSchema<{
|
|
85
85
|
readonly args: v.ObjectSchema<{
|
|
86
|
-
readonly id: v.
|
|
86
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
87
87
|
readonly settings: Omit<v.ObjectSchema<{
|
|
88
88
|
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
89
89
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -3,7 +3,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly mutations: v.ArraySchema<v.UnionSchema<(v.ObjectSchema<{
|
|
5
5
|
readonly args: v.ObjectSchema<{
|
|
6
|
-
readonly id: v.
|
|
6
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
7
7
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
8
8
|
}, undefined>;
|
|
9
9
|
readonly clientID: v.StringSchema<undefined>;
|
|
@@ -14,13 +14,13 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
14
14
|
readonly attachment: v.ObjectSchema<{
|
|
15
15
|
readonly failed: v.BooleanSchema<undefined>;
|
|
16
16
|
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
|
-
readonly id: v.
|
|
17
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
18
18
|
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
19
19
|
readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
20
20
|
readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
21
21
|
readonly uploadedChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
22
22
|
}, undefined>;
|
|
23
|
-
readonly id: v.
|
|
23
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
24
24
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
25
25
|
}, undefined>;
|
|
26
26
|
readonly clientID: v.StringSchema<undefined>;
|
|
@@ -31,7 +31,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
31
31
|
readonly attachments: v.ArraySchema<v.ObjectSchema<{
|
|
32
32
|
readonly failed: v.BooleanSchema<undefined>;
|
|
33
33
|
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
34
|
-
readonly id: v.
|
|
34
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
35
35
|
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
36
36
|
readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
37
37
|
readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -44,10 +44,10 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
44
44
|
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
45
45
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
46
46
|
}, undefined>;
|
|
47
|
-
readonly emailAccountId: v.
|
|
47
|
+
readonly emailAccountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
48
48
|
readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
49
|
-
readonly id: v.
|
|
50
|
-
readonly referencedMessageId: v.NullableSchema<v.
|
|
49
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
50
|
+
readonly referencedMessageId: v.NullableSchema<v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>, undefined>;
|
|
51
51
|
readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
52
52
|
readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMATION_PENDING", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>], undefined>;
|
|
53
53
|
readonly type: v.UnionSchema<[v.LiteralSchema<"NEW", undefined>, v.LiteralSchema<"REPLY", undefined>, v.LiteralSchema<"FORWARD", undefined>], undefined>;
|
|
@@ -58,8 +58,8 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
58
58
|
readonly name: v.LiteralSchema<"createDraft", undefined>;
|
|
59
59
|
}, undefined> | v.ObjectSchema<{
|
|
60
60
|
readonly args: v.ObjectSchema<{
|
|
61
|
-
readonly attachmentId: v.
|
|
62
|
-
readonly id: v.
|
|
61
|
+
readonly attachmentId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
62
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
63
63
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
64
64
|
}, undefined>;
|
|
65
65
|
readonly clientID: v.StringSchema<undefined>;
|
|
@@ -67,14 +67,14 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
67
67
|
readonly name: v.LiteralSchema<"deleteAttachment", undefined>;
|
|
68
68
|
}, undefined> | v.ObjectSchema<{
|
|
69
69
|
readonly args: v.ObjectSchema<{
|
|
70
|
-
readonly id: v.
|
|
70
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
71
71
|
}, undefined>;
|
|
72
72
|
readonly clientID: v.StringSchema<undefined>;
|
|
73
73
|
readonly id: v.NumberSchema<undefined>;
|
|
74
74
|
readonly name: v.LiteralSchema<"deleteDraft", undefined>;
|
|
75
75
|
}, undefined> | v.ObjectSchema<{
|
|
76
76
|
readonly args: v.ObjectSchema<{
|
|
77
|
-
readonly id: v.
|
|
77
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
78
78
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
79
79
|
}, undefined>;
|
|
80
80
|
readonly clientID: v.StringSchema<undefined>;
|
|
@@ -82,7 +82,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
82
82
|
readonly name: v.LiteralSchema<"sendDraft", undefined>;
|
|
83
83
|
}, undefined> | v.ObjectSchema<{
|
|
84
84
|
readonly args: v.ObjectSchema<{
|
|
85
|
-
readonly id: v.
|
|
85
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
86
86
|
readonly patch: v.ArraySchema<v.ObjectSchema<{
|
|
87
87
|
readonly index: v.NumberSchema<undefined>;
|
|
88
88
|
readonly type: v.UnionSchema<[v.LiteralSchema<"INSERTION", undefined>, v.LiteralSchema<"DELETION", undefined>], undefined>;
|
|
@@ -95,8 +95,8 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
95
95
|
readonly name: v.LiteralSchema<"setContent", undefined>;
|
|
96
96
|
}, undefined> | v.ObjectSchema<{
|
|
97
97
|
readonly args: v.ObjectSchema<{
|
|
98
|
-
readonly emailAccountId: v.
|
|
99
|
-
readonly id: v.
|
|
98
|
+
readonly emailAccountId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
99
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
100
100
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
101
101
|
}, undefined>;
|
|
102
102
|
readonly clientID: v.StringSchema<undefined>;
|
|
@@ -151,7 +151,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
151
151
|
readonly issue: v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.MaxLengthIssue<string, number> | v.ObjectIssue | v.NonOptionalIssue | v.ArrayIssue;
|
|
152
152
|
} | undefined;
|
|
153
153
|
};
|
|
154
|
-
readonly id: v.
|
|
154
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
155
155
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
156
156
|
}, undefined>;
|
|
157
157
|
readonly clientID: v.StringSchema<undefined>;
|
|
@@ -159,7 +159,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
159
159
|
readonly name: v.LiteralSchema<"setEnvelope", undefined>;
|
|
160
160
|
}, undefined> | v.ObjectSchema<{
|
|
161
161
|
readonly args: v.ObjectSchema<{
|
|
162
|
-
readonly id: v.
|
|
162
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
163
163
|
readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
164
164
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
165
165
|
}, undefined>;
|
|
@@ -168,10 +168,10 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
168
168
|
readonly name: v.LiteralSchema<"setScheduledFor", undefined>;
|
|
169
169
|
}, undefined> | v.ObjectSchema<{
|
|
170
170
|
readonly args: v.ObjectSchema<{
|
|
171
|
-
readonly attachmentId: v.
|
|
171
|
+
readonly attachmentId: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
172
172
|
readonly chunk: v.SchemaWithPipe<[v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
|
|
173
173
|
readonly chunkIndex: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
174
|
-
readonly id: v.
|
|
174
|
+
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
175
175
|
}, undefined>;
|
|
176
176
|
readonly clientID: v.StringSchema<undefined>;
|
|
177
177
|
readonly id: v.NumberSchema<undefined>;
|