@marcoappio/marco-config 2.0.405 → 2.0.407
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 +52 -52
- package/dist/clients/contact.d.ts +3 -3
- package/dist/clients/draft.d.ts +88 -88
- package/dist/clients/index.d.ts +216 -204
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/thread.d.ts +56 -44
- package/dist/clients/thread.d.ts.map +1 -1
- package/dist/clients/thread.js +13 -0
- package/dist/clients/user.d.ts +17 -17
- package/dist/schemas/auth.d.ts +2 -2
- package/dist/schemas/emailAccount.d.ts +10 -10
- package/dist/schemas/index.d.ts +22 -22
- package/dist/schemas/number.d.ts +2 -2
- package/dist/schemas/pushNotifications.d.ts +2 -2
- package/dist/schemas/string.d.ts +6 -6
- package/dist/sdk/endpoints/index.d.ts +284 -268
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts +2 -2
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +3 -3
- package/dist/sdk/endpoints/private/index.d.ts +260 -244
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +256 -240
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +17 -17
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +11 -11
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +23 -23
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +96 -96
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +34 -34
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +11 -11
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +40 -40
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +70 -70
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +160 -144
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +39 -23
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.js +12 -0
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +11 -11
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts +1 -1
- package/dist/sdk/endpoints/private/user/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +21 -21
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +9 -9
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +2 -2
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +10 -10
- package/dist/sdk/endpoints/public/config/index.d.ts +2 -2
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/index.d.ts +24 -24
- package/dist/sdk/index.d.ts +284 -268
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +46 -46
|
@@ -3,8 +3,8 @@ 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.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
6
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
8
8
|
}, undefined>;
|
|
9
9
|
readonly clientID: v.StringSchema<undefined>;
|
|
10
10
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -13,15 +13,15 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
13
13
|
readonly args: v.ObjectSchema<{
|
|
14
14
|
readonly attachment: v.ObjectSchema<{
|
|
15
15
|
readonly failed: v.BooleanSchema<undefined>;
|
|
16
|
-
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
18
|
-
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
19
|
-
readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
20
|
-
readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
21
|
-
readonly uploadedChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
16
|
+
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
18
|
+
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
19
|
+
readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
20
|
+
readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
21
|
+
readonly uploadedChunks: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
22
22
|
}, undefined>;
|
|
23
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
24
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
23
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
24
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
25
25
|
}, undefined>;
|
|
26
26
|
readonly clientID: v.StringSchema<undefined>;
|
|
27
27
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -30,82 +30,82 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
30
30
|
readonly args: v.ObjectSchema<{
|
|
31
31
|
readonly attachments: v.ArraySchema<v.ObjectSchema<{
|
|
32
32
|
readonly failed: v.BooleanSchema<undefined>;
|
|
33
|
-
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
34
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
35
|
-
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
36
|
-
readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
37
|
-
readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
38
|
-
readonly uploadedChunks: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
33
|
+
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
34
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
35
|
+
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
36
|
+
readonly totalChunks: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
37
|
+
readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
38
|
+
readonly uploadedChunks: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
39
39
|
}, undefined>, undefined>;
|
|
40
40
|
readonly body: v.ObjectSchema<{
|
|
41
|
-
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
42
|
-
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
43
|
-
readonly content: v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
44
|
-
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, 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>;
|
|
41
|
+
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
42
|
+
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
43
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
44
|
+
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
45
|
+
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
46
46
|
}, undefined>;
|
|
47
|
-
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
48
|
-
readonly error: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
49
|
-
readonly from: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
50
|
-
readonly fromName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
52
|
-
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
53
|
-
readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
47
|
+
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
48
|
+
readonly error: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
49
|
+
readonly from: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
50
|
+
readonly fromName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
52
|
+
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
53
|
+
readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
54
54
|
readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SEND_REQUESTED", undefined>, v.LiteralSchema<"SEND_CONFIRMED", undefined>, v.LiteralSchema<"SEND_FAILED", undefined>], undefined>;
|
|
55
55
|
readonly type: v.UnionSchema<[v.LiteralSchema<"NEW", undefined>, v.LiteralSchema<"REPLY", undefined>, v.LiteralSchema<"FORWARD", undefined>], undefined>;
|
|
56
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
56
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
57
57
|
}, undefined>;
|
|
58
58
|
readonly clientID: v.StringSchema<undefined>;
|
|
59
59
|
readonly id: v.NumberSchema<undefined>;
|
|
60
60
|
readonly name: v.LiteralSchema<"createDraft", undefined>;
|
|
61
61
|
}, undefined> | v.ObjectSchema<{
|
|
62
62
|
readonly args: v.ObjectSchema<{
|
|
63
|
-
readonly attachmentId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
65
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
63
|
+
readonly attachmentId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
65
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
66
66
|
}, undefined>;
|
|
67
67
|
readonly clientID: v.StringSchema<undefined>;
|
|
68
68
|
readonly id: v.NumberSchema<undefined>;
|
|
69
69
|
readonly name: v.LiteralSchema<"deleteAttachment", undefined>;
|
|
70
70
|
}, undefined> | v.ObjectSchema<{
|
|
71
71
|
readonly args: v.ObjectSchema<{
|
|
72
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
72
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
73
73
|
}, undefined>;
|
|
74
74
|
readonly clientID: v.StringSchema<undefined>;
|
|
75
75
|
readonly id: v.NumberSchema<undefined>;
|
|
76
76
|
readonly name: v.LiteralSchema<"deleteDraft", undefined>;
|
|
77
77
|
}, undefined> | v.ObjectSchema<{
|
|
78
78
|
readonly args: v.UnionSchema<[v.ObjectSchema<{
|
|
79
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
79
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
80
80
|
readonly kind: v.LiteralSchema<"IMMEDIATE", undefined>;
|
|
81
|
-
readonly undoMs: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
82
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
81
|
+
readonly undoMs: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
82
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
83
83
|
}, undefined>, v.ObjectSchema<{
|
|
84
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
84
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
85
85
|
readonly kind: v.LiteralSchema<"SCHEDULED", undefined>;
|
|
86
|
-
readonly scheduledFor: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
87
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
86
|
+
readonly scheduledFor: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
87
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
88
88
|
}, undefined>], undefined>;
|
|
89
89
|
readonly clientID: v.StringSchema<undefined>;
|
|
90
90
|
readonly id: v.NumberSchema<undefined>;
|
|
91
91
|
readonly name: v.LiteralSchema<"scheduleSend", undefined>;
|
|
92
92
|
}, undefined> | v.ObjectSchema<{
|
|
93
93
|
readonly args: v.ObjectSchema<{
|
|
94
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
95
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
94
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
95
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
96
96
|
}, undefined>;
|
|
97
97
|
readonly clientID: v.StringSchema<undefined>;
|
|
98
98
|
readonly id: v.NumberSchema<undefined>;
|
|
99
99
|
readonly name: v.LiteralSchema<"sendDraft", undefined>;
|
|
100
100
|
}, undefined> | v.ObjectSchema<{
|
|
101
101
|
readonly args: v.ObjectSchema<{
|
|
102
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
102
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
103
103
|
readonly patch: v.ArraySchema<v.ObjectSchema<{
|
|
104
104
|
readonly index: v.NumberSchema<undefined>;
|
|
105
105
|
readonly type: v.UnionSchema<[v.LiteralSchema<"INSERTION", undefined>, v.LiteralSchema<"DELETION", undefined>], undefined>;
|
|
106
106
|
readonly value: v.StringSchema<undefined>;
|
|
107
107
|
}, undefined>, undefined>;
|
|
108
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
108
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
109
109
|
}, undefined>;
|
|
110
110
|
readonly clientID: v.StringSchema<undefined>;
|
|
111
111
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -113,20 +113,20 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
113
113
|
}, undefined> | v.ObjectSchema<{
|
|
114
114
|
readonly args: v.ObjectSchema<{
|
|
115
115
|
readonly envelope: Omit<v.ObjectSchema<{
|
|
116
|
-
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
117
|
-
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
118
|
-
readonly content: v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
119
|
-
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
120
|
-
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
116
|
+
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
117
|
+
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
118
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
119
|
+
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
120
|
+
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
121
121
|
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
122
122
|
readonly entries: Omit<{
|
|
123
|
-
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
124
|
-
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
125
|
-
readonly content: v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
126
|
-
readonly subject: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
127
|
-
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
123
|
+
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
124
|
+
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
125
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
126
|
+
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
127
|
+
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
128
128
|
}, "content">;
|
|
129
|
-
readonly '~standard': v.
|
|
129
|
+
readonly '~standard': v.StandardProps<{
|
|
130
130
|
bcc: string[];
|
|
131
131
|
cc: string[];
|
|
132
132
|
to: string[];
|
|
@@ -159,45 +159,45 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
159
159
|
readonly issue: v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ObjectIssue | v.ArrayIssue;
|
|
160
160
|
} | undefined;
|
|
161
161
|
};
|
|
162
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
163
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
162
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
163
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
164
164
|
}, undefined>;
|
|
165
165
|
readonly clientID: v.StringSchema<undefined>;
|
|
166
166
|
readonly id: v.NumberSchema<undefined>;
|
|
167
167
|
readonly name: v.LiteralSchema<"setEnvelope", undefined>;
|
|
168
168
|
}, undefined> | v.ObjectSchema<{
|
|
169
169
|
readonly args: v.ObjectSchema<{
|
|
170
|
-
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
171
|
-
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
172
|
-
readonly from: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
173
|
-
readonly fromName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
174
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
175
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
170
|
+
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
171
|
+
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
172
|
+
readonly from: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
173
|
+
readonly fromName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
174
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
175
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
176
176
|
}, undefined>;
|
|
177
177
|
readonly clientID: v.StringSchema<undefined>;
|
|
178
178
|
readonly id: v.NumberSchema<undefined>;
|
|
179
179
|
readonly name: v.LiteralSchema<"setFrom", undefined>;
|
|
180
180
|
}, undefined> | v.ObjectSchema<{
|
|
181
181
|
readonly args: v.ObjectSchema<{
|
|
182
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
183
|
-
readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
184
|
-
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
182
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
183
|
+
readonly scheduledFor: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
184
|
+
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
185
185
|
}, undefined>;
|
|
186
186
|
readonly clientID: v.StringSchema<undefined>;
|
|
187
187
|
readonly id: v.NumberSchema<undefined>;
|
|
188
188
|
readonly name: v.LiteralSchema<"setScheduledFor", undefined>;
|
|
189
189
|
}, undefined> | v.ObjectSchema<{
|
|
190
190
|
readonly args: v.ObjectSchema<{
|
|
191
|
-
readonly attachmentId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
192
|
-
readonly chunk: v.SchemaWithPipe<[v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
|
|
193
|
-
readonly chunkIndex: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
194
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
191
|
+
readonly attachmentId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
192
|
+
readonly chunk: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
|
|
193
|
+
readonly chunkIndex: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
194
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
195
195
|
}, undefined>;
|
|
196
196
|
readonly clientID: v.StringSchema<undefined>;
|
|
197
197
|
readonly id: v.NumberSchema<undefined>;
|
|
198
198
|
readonly name: v.LiteralSchema<"uploadAttachmentChunk", undefined>;
|
|
199
199
|
}, undefined>)[], undefined>, undefined>;
|
|
200
|
-
}, undefined>, v.GenericSchema
|
|
200
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
201
201
|
readonly data: v.ObjectSchema<{
|
|
202
202
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
203
203
|
readonly issues: v.ObjectSchema<{
|