@marcoappio/marco-config 2.0.163 → 2.0.164
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 +7 -7
- package/dist/clients/account.js +6 -6
- package/dist/clients/contact.d.ts +1 -1
- package/dist/clients/contact.js +1 -1
- package/dist/clients/draft.d.ts +12 -132
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +24 -33
- package/dist/clients/index.d.ts +27 -148
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/thread.d.ts +5 -5
- package/dist/clients/thread.js +5 -5
- package/dist/clients/user.d.ts +3 -3
- package/dist/clients/user.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/schemas.d.ts +1 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +2 -1
- package/dist/sdk/endpoints/index.d.ts +39 -162
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts +1 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +35 -158
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +33 -156
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +4 -10
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +15 -21
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +6 -6
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +6 -123
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +1 -7
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +18 -135
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +3 -3
- 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 +3 -3
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/index.d.ts +4 -4
- package/dist/sdk/index.d.ts +39 -162
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/types/JSONContent.d.ts +11 -0
- package/dist/types/JSONContent.d.ts.map +1 -0
- package/dist/types/JSONContent.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ export declare const pull: {
|
|
|
2
2
|
account: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
|
3
3
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
4
4
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
5
|
-
}, undefined>, import("valibot").GenericSchema
|
|
5
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
6
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -22,7 +22,7 @@ export declare const pull: {
|
|
|
22
22
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
23
23
|
readonly value: import("valibot").ObjectSchema<{
|
|
24
24
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
25
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
25
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
26
26
|
readonly imapPasswordConfig: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
27
27
|
readonly host: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
28
28
|
readonly password: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -30,7 +30,7 @@ export declare const pull: {
|
|
|
30
30
|
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED", undefined>], undefined>;
|
|
31
31
|
}, undefined>, undefined>;
|
|
32
32
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
33
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
33
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
34
34
|
readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
35
35
|
readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
36
36
|
readonly specialUse: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
|
|
@@ -52,7 +52,7 @@ export declare const pull: {
|
|
|
52
52
|
contact: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
53
53
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
54
54
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
55
|
-
}, undefined>, import("valibot").GenericSchema
|
|
55
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
56
56
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
57
57
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
58
58
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -71,7 +71,7 @@ export declare const pull: {
|
|
|
71
71
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
72
72
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
73
73
|
readonly value: import("valibot").ObjectSchema<{
|
|
74
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
74
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
75
75
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
76
76
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
77
77
|
}, undefined>;
|
|
@@ -82,7 +82,7 @@ export declare const pull: {
|
|
|
82
82
|
draft: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
83
83
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
84
84
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
85
|
-
}, undefined>, import("valibot").GenericSchema
|
|
85
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
86
86
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
87
87
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
88
88
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -104,18 +104,12 @@ export declare const pull: {
|
|
|
104
104
|
readonly body: import("valibot").ObjectSchema<{
|
|
105
105
|
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>;
|
|
106
106
|
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>;
|
|
107
|
-
readonly content: import("valibot").
|
|
108
|
-
readonly content: import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{
|
|
109
|
-
readonly type: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
110
|
-
}, undefined>, undefined>;
|
|
111
|
-
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"doc", undefined>], undefined>;
|
|
112
|
-
}, undefined>;
|
|
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>;
|
|
107
|
+
readonly content: import("valibot").GenericSchema<import("../../../../..").JSONContent>;
|
|
114
108
|
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
109
|
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
110
|
}, undefined>;
|
|
117
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
118
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
111
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
112
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
119
113
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
120
114
|
}, undefined>;
|
|
121
115
|
}, undefined>], undefined>, undefined>;
|
|
@@ -129,7 +123,7 @@ export declare const pull: {
|
|
|
129
123
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
130
124
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
131
125
|
}, undefined>, undefined>;
|
|
132
|
-
}, undefined>, import("valibot").GenericSchema
|
|
126
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
133
127
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
134
128
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
135
129
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -153,8 +147,8 @@ export declare const pull: {
|
|
|
153
147
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
154
148
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
155
149
|
readonly value: import("valibot").ObjectSchema<{
|
|
156
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
157
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
150
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
151
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
158
152
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
159
153
|
readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
160
154
|
readonly emailAddresses: 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>;
|
|
@@ -171,7 +165,7 @@ export declare const pull: {
|
|
|
171
165
|
readonly emailAddresses: 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>;
|
|
172
166
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
173
167
|
}, undefined>;
|
|
174
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
168
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
175
169
|
readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
176
170
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
177
171
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -192,7 +186,7 @@ export declare const pull: {
|
|
|
192
186
|
user: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
193
187
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
194
188
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
195
|
-
}, undefined>, import("valibot").GenericSchema
|
|
189
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
196
190
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
197
191
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
198
192
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -211,7 +205,7 @@ export declare const pull: {
|
|
|
211
205
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
212
206
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
213
207
|
readonly value: import("valibot").ObjectSchema<{
|
|
214
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
208
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
215
209
|
readonly settings: import("valibot").ObjectSchema<{
|
|
216
210
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
217
211
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
|
|
@@ -6,7 +6,7 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
6
6
|
readonly order: v.StringSchema<undefined>;
|
|
7
7
|
readonly version: v.NumberSchema<undefined>;
|
|
8
8
|
}, undefined>, undefined>;
|
|
9
|
-
}, undefined>, v.GenericSchema
|
|
9
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
10
10
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
11
11
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
12
12
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -30,8 +30,8 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
30
30
|
readonly key: v.StringSchema<undefined>;
|
|
31
31
|
readonly op: v.LiteralSchema<"put", undefined>;
|
|
32
32
|
readonly value: v.ObjectSchema<{
|
|
33
|
-
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
34
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
33
|
+
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
34
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
35
35
|
readonly messages: v.ArraySchema<v.ObjectSchema<{
|
|
36
36
|
readonly bcc: v.ArraySchema<v.ObjectSchema<{
|
|
37
37
|
readonly emailAddresses: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -48,7 +48,7 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
48
48
|
readonly emailAddresses: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
49
49
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
50
50
|
}, undefined>;
|
|
51
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
51
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
52
52
|
readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
53
53
|
readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
54
54
|
readonly replyTo: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -2,7 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const syncPullUser: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/user", v.ObjectSchema<{
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
5
|
-
}, undefined>, v.GenericSchema
|
|
5
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
6
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -21,7 +21,7 @@ export declare const syncPullUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
21
21
|
readonly key: v.StringSchema<undefined>;
|
|
22
22
|
readonly op: v.LiteralSchema<"put", undefined>;
|
|
23
23
|
readonly value: v.ObjectSchema<{
|
|
24
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
24
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
25
25
|
readonly settings: v.ObjectSchema<{
|
|
26
26
|
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
27
27
|
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -3,7 +3,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
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.
|
|
6
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
7
7
|
readonly imapPasswordConfig: v.ObjectSchema<{
|
|
8
8
|
readonly status: v.LiteralSchema<"AWAITING_CONNECTION", undefined>;
|
|
9
9
|
readonly host: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -18,21 +18,21 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
18
18
|
readonly args: v.ObjectSchema<{
|
|
19
19
|
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
20
20
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
21
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
21
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
22
22
|
}, undefined>;
|
|
23
23
|
readonly clientID: v.StringSchema<undefined>;
|
|
24
24
|
readonly id: v.NumberSchema<undefined>;
|
|
25
25
|
readonly name: v.LiteralSchema<"add", undefined>;
|
|
26
26
|
}, undefined>, v.ObjectSchema<{
|
|
27
27
|
readonly args: v.ObjectSchema<{
|
|
28
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
28
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
29
29
|
}, undefined>;
|
|
30
30
|
readonly clientID: v.StringSchema<undefined>;
|
|
31
31
|
readonly id: v.NumberSchema<undefined>;
|
|
32
32
|
readonly name: v.LiteralSchema<"delete", undefined>;
|
|
33
33
|
}, undefined>, v.ObjectSchema<{
|
|
34
34
|
readonly args: v.ObjectSchema<{
|
|
35
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
35
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
36
36
|
readonly settings: Omit<v.ObjectSchema<{
|
|
37
37
|
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
38
38
|
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -43,7 +43,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
43
43
|
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
44
44
|
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
45
45
|
};
|
|
46
|
-
readonly '~standard': v.
|
|
46
|
+
readonly '~standard': v.StandardProps<{
|
|
47
47
|
color?: string | undefined;
|
|
48
48
|
firstName?: string | null | undefined;
|
|
49
49
|
lastName?: string | null | undefined;
|
|
@@ -76,7 +76,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
76
76
|
readonly id: v.NumberSchema<undefined>;
|
|
77
77
|
readonly name: v.LiteralSchema<"setSettings", undefined>;
|
|
78
78
|
}, undefined>], undefined>, undefined>;
|
|
79
|
-
}, undefined>, v.GenericSchema
|
|
79
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
80
80
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
81
81
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
82
82
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -3,146 +3,29 @@ 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.
|
|
6
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
7
7
|
}, undefined>;
|
|
8
8
|
readonly clientID: v.StringSchema<undefined>;
|
|
9
9
|
readonly id: v.NumberSchema<undefined>;
|
|
10
10
|
readonly name: v.LiteralSchema<"delete", undefined>;
|
|
11
|
-
}, undefined>, v.ObjectSchema<{
|
|
12
|
-
readonly args: v.ObjectSchema<{
|
|
13
|
-
readonly body: Omit<v.ObjectSchema<{
|
|
14
|
-
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
15
|
-
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
16
|
-
readonly content: v.ObjectSchema<{
|
|
17
|
-
readonly content: v.ArraySchema<v.LooseObjectSchema<{
|
|
18
|
-
readonly type: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
19
|
-
}, undefined>, undefined>;
|
|
20
|
-
readonly type: v.UnionSchema<[v.LiteralSchema<"doc", undefined>], undefined>;
|
|
21
|
-
}, undefined>;
|
|
22
|
-
readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
23
|
-
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
24
|
-
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
25
|
-
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
26
|
-
readonly entries: {
|
|
27
|
-
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>;
|
|
28
|
-
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>;
|
|
29
|
-
readonly content: v.OptionalSchema<v.ObjectSchema<{
|
|
30
|
-
readonly content: v.ArraySchema<v.LooseObjectSchema<{
|
|
31
|
-
readonly type: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
32
|
-
}, undefined>, undefined>;
|
|
33
|
-
readonly type: v.UnionSchema<[v.LiteralSchema<"doc", undefined>], undefined>;
|
|
34
|
-
}, undefined>, undefined>;
|
|
35
|
-
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>;
|
|
36
|
-
readonly subject: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
37
|
-
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>;
|
|
38
|
-
};
|
|
39
|
-
readonly '~standard': v.StandardSchemaProps<{
|
|
40
|
-
bcc?: string[] | undefined;
|
|
41
|
-
cc?: string[] | undefined;
|
|
42
|
-
content?: {
|
|
43
|
-
type: "doc";
|
|
44
|
-
content: ({
|
|
45
|
-
type: string;
|
|
46
|
-
} & {
|
|
47
|
-
[key: string]: unknown;
|
|
48
|
-
})[];
|
|
49
|
-
} | undefined;
|
|
50
|
-
replyTo?: string[] | undefined;
|
|
51
|
-
to?: string[] | undefined;
|
|
52
|
-
subject?: string | undefined;
|
|
53
|
-
}, {
|
|
54
|
-
bcc?: string[] | undefined;
|
|
55
|
-
cc?: string[] | undefined;
|
|
56
|
-
content?: {
|
|
57
|
-
type: "doc";
|
|
58
|
-
content: ({
|
|
59
|
-
type: string;
|
|
60
|
-
} & {
|
|
61
|
-
[key: string]: unknown;
|
|
62
|
-
})[];
|
|
63
|
-
} | undefined;
|
|
64
|
-
replyTo?: string[] | undefined;
|
|
65
|
-
to?: string[] | undefined;
|
|
66
|
-
subject?: string | undefined;
|
|
67
|
-
}>;
|
|
68
|
-
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
69
|
-
bcc?: string[] | undefined;
|
|
70
|
-
cc?: string[] | undefined;
|
|
71
|
-
content?: {
|
|
72
|
-
type: "doc";
|
|
73
|
-
content: ({
|
|
74
|
-
type: string;
|
|
75
|
-
} & {
|
|
76
|
-
[key: string]: unknown;
|
|
77
|
-
})[];
|
|
78
|
-
} | undefined;
|
|
79
|
-
replyTo?: string[] | undefined;
|
|
80
|
-
to?: string[] | undefined;
|
|
81
|
-
subject?: string | undefined;
|
|
82
|
-
}, v.LiteralIssue | v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.UnionIssue<v.LiteralIssue> | v.NonOptionalIssue | v.ArrayIssue | v.LooseObjectIssue>;
|
|
83
|
-
readonly '~types'?: {
|
|
84
|
-
readonly input: {
|
|
85
|
-
bcc?: string[] | undefined;
|
|
86
|
-
cc?: string[] | undefined;
|
|
87
|
-
content?: {
|
|
88
|
-
type: "doc";
|
|
89
|
-
content: ({
|
|
90
|
-
type: string;
|
|
91
|
-
} & {
|
|
92
|
-
[key: string]: unknown;
|
|
93
|
-
})[];
|
|
94
|
-
} | undefined;
|
|
95
|
-
replyTo?: string[] | undefined;
|
|
96
|
-
to?: string[] | undefined;
|
|
97
|
-
subject?: string | undefined;
|
|
98
|
-
};
|
|
99
|
-
readonly output: {
|
|
100
|
-
bcc?: string[] | undefined;
|
|
101
|
-
cc?: string[] | undefined;
|
|
102
|
-
content?: {
|
|
103
|
-
type: "doc";
|
|
104
|
-
content: ({
|
|
105
|
-
type: string;
|
|
106
|
-
} & {
|
|
107
|
-
[key: string]: unknown;
|
|
108
|
-
})[];
|
|
109
|
-
} | undefined;
|
|
110
|
-
replyTo?: string[] | undefined;
|
|
111
|
-
to?: string[] | undefined;
|
|
112
|
-
subject?: string | undefined;
|
|
113
|
-
};
|
|
114
|
-
readonly issue: v.LiteralIssue | v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.UnionIssue<v.LiteralIssue> | v.NonOptionalIssue | v.ArrayIssue | v.LooseObjectIssue;
|
|
115
|
-
} | undefined;
|
|
116
|
-
};
|
|
117
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
118
|
-
}, undefined>;
|
|
119
|
-
readonly clientID: v.StringSchema<undefined>;
|
|
120
|
-
readonly id: v.NumberSchema<undefined>;
|
|
121
|
-
readonly name: v.LiteralSchema<"update", undefined>;
|
|
122
11
|
}, undefined>, v.ObjectSchema<{
|
|
123
12
|
readonly args: v.ObjectSchema<{
|
|
124
13
|
readonly body: v.ObjectSchema<{
|
|
125
14
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
126
15
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
127
|
-
readonly content: v.
|
|
128
|
-
readonly content: v.ArraySchema<v.LooseObjectSchema<{
|
|
129
|
-
readonly type: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
130
|
-
}, undefined>, undefined>;
|
|
131
|
-
readonly type: v.UnionSchema<[v.LiteralSchema<"doc", undefined>], undefined>;
|
|
132
|
-
}, undefined>;
|
|
133
|
-
readonly replyTo: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
16
|
+
readonly content: v.GenericSchema<import("../../../../..").JSONContent>;
|
|
134
17
|
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
135
18
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
136
19
|
}, undefined>;
|
|
137
|
-
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
138
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
20
|
+
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
21
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
139
22
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
140
23
|
}, undefined>;
|
|
141
24
|
readonly clientID: v.StringSchema<undefined>;
|
|
142
25
|
readonly id: v.NumberSchema<undefined>;
|
|
143
|
-
readonly name: v.LiteralSchema<"
|
|
26
|
+
readonly name: v.LiteralSchema<"update", undefined>;
|
|
144
27
|
}, undefined>], undefined>, undefined>;
|
|
145
|
-
}, undefined>, v.GenericSchema
|
|
28
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
146
29
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
147
30
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
148
31
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyBxB,CAAA"}
|
|
@@ -13,17 +13,11 @@ export const syncPushDraft = createEndpoint({
|
|
|
13
13
|
name: v.literal('delete'),
|
|
14
14
|
}),
|
|
15
15
|
v.object({
|
|
16
|
-
args: draft.mutators.
|
|
16
|
+
args: draft.mutators.upsert.delta,
|
|
17
17
|
clientID: v.string(),
|
|
18
18
|
id: v.number(),
|
|
19
19
|
name: v.literal('update'),
|
|
20
20
|
}),
|
|
21
|
-
v.object({
|
|
22
|
-
args: draft.mutators.create.delta,
|
|
23
|
-
clientID: v.string(),
|
|
24
|
-
id: v.number(),
|
|
25
|
-
name: v.literal('create'),
|
|
26
|
-
}),
|
|
27
21
|
])),
|
|
28
22
|
}),
|
|
29
23
|
method: 'POST',
|