@marcoappio/marco-config 2.0.207 → 2.0.209
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 +2 -2
- package/dist/clients/account.js +2 -2
- package/dist/clients/draft.d.ts +1 -1
- package/dist/clients/draft.js +1 -1
- package/dist/clients/index.d.ts +6 -6
- package/dist/clients/thread.d.ts +3 -3
- package/dist/clients/thread.js +3 -3
- package/dist/sdk/endpoints/index.d.ts +23 -8
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +23 -8
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +23 -8
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +5 -5
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +5 -0
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.js +1 -0
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +6 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +1 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +18 -3
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/thread.js +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +5 -0
- package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.js +1 -0
- package/dist/sdk/index.d.ts +35 -8
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +24 -0
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +10 -0
- package/dist/sdk/validation/index.d.ts +12 -0
- package/dist/sdk/validation/index.d.ts.map +1 -1
- package/dist/types/SDKError.d.ts +1 -1
- package/dist/types/SDKError.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -11,9 +11,9 @@ export declare const account: {
|
|
|
11
11
|
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
12
12
|
}, undefined>, undefined>;
|
|
13
13
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
14
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
14
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
15
|
readonly labels: v.ArraySchema<v.ObjectSchema<{
|
|
16
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
16
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
17
|
readonly name: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
18
18
|
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
19
19
|
readonly specialUse: v.NullableSchema<v.UnionSchema<[v.LiteralSchema<"ARCHIVE", undefined>, v.LiteralSchema<"INBOX", undefined>, v.LiteralSchema<"SENT", undefined>, v.LiteralSchema<"SPAM", undefined>, v.LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
|
package/dist/clients/account.js
CHANGED
|
@@ -8,9 +8,9 @@ export const account = {
|
|
|
8
8
|
model: v.object({
|
|
9
9
|
connectionConfig: v.nullable(marcoSchemas.emailAccount.connectionConfig()),
|
|
10
10
|
emailAddress: marcoSchemas.string.email(),
|
|
11
|
-
id: marcoSchemas.string.
|
|
11
|
+
id: marcoSchemas.string.required(),
|
|
12
12
|
labels: v.array(v.object({
|
|
13
|
-
id: marcoSchemas.string.
|
|
13
|
+
id: marcoSchemas.string.required(),
|
|
14
14
|
name: marcoSchemas.string.required(),
|
|
15
15
|
path: marcoSchemas.string.required(),
|
|
16
16
|
specialUse: v.nullable(marcoSchemas.labelSpecialUse()),
|
package/dist/clients/draft.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare const draft: {
|
|
|
49
49
|
};
|
|
50
50
|
setEmailAccountId: {
|
|
51
51
|
delta: v.ObjectSchema<{
|
|
52
|
-
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
52
|
+
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
53
53
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
54
54
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
55
55
|
}, undefined>;
|
package/dist/clients/draft.js
CHANGED
|
@@ -40,7 +40,7 @@ export const draft = {
|
|
|
40
40
|
},
|
|
41
41
|
setEmailAccountId: {
|
|
42
42
|
delta: v.object({
|
|
43
|
-
emailAccountId: marcoSchemas.string.
|
|
43
|
+
emailAccountId: marcoSchemas.string.required(),
|
|
44
44
|
id: marcoSchemas.string.uuid(),
|
|
45
45
|
updatedAt: marcoSchemas.number.positiveInteger(),
|
|
46
46
|
}),
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -12,9 +12,9 @@ export declare const marcoClients: {
|
|
|
12
12
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
13
13
|
}, undefined>, undefined>;
|
|
14
14
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
15
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
15
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
16
16
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
17
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
17
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
18
18
|
readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
19
19
|
readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
20
20
|
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>;
|
|
@@ -158,7 +158,7 @@ export declare const marcoClients: {
|
|
|
158
158
|
};
|
|
159
159
|
setEmailAccountId: {
|
|
160
160
|
delta: import("valibot").ObjectSchema<{
|
|
161
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
161
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
162
162
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
163
163
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
164
164
|
}, undefined>;
|
|
@@ -231,7 +231,7 @@ export declare const marcoClients: {
|
|
|
231
231
|
};
|
|
232
232
|
thread: {
|
|
233
233
|
model: import("valibot").ObjectSchema<{
|
|
234
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
234
|
+
readonly emailAccountId: 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 id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
236
236
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
237
237
|
readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -251,8 +251,8 @@ export declare const marcoClients: {
|
|
|
251
251
|
}, undefined>;
|
|
252
252
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
253
253
|
readonly labelIds: import("valibot").ObjectSchema<{
|
|
254
|
-
readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
255
|
-
readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
254
|
+
readonly current: 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>;
|
|
255
|
+
readonly previous: import("valibot").NullableSchema<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>, undefined>;
|
|
256
256
|
}, undefined>;
|
|
257
257
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
258
258
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
package/dist/clients/thread.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const thread: {
|
|
3
3
|
model: v.ObjectSchema<{
|
|
4
|
-
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
4
|
+
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
6
6
|
readonly messages: v.ArraySchema<v.ObjectSchema<{
|
|
7
7
|
readonly bcc: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -21,8 +21,8 @@ export declare const thread: {
|
|
|
21
21
|
}, undefined>;
|
|
22
22
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
23
23
|
readonly labelIds: v.ObjectSchema<{
|
|
24
|
-
readonly current: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
25
|
-
readonly previous: v.NullableSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
24
|
+
readonly current: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
25
|
+
readonly previous: v.NullableSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
26
26
|
}, undefined>;
|
|
27
27
|
readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
28
28
|
readonly replyTo: v.ArraySchema<v.ObjectSchema<{
|
package/dist/clients/thread.js
CHANGED
|
@@ -7,7 +7,7 @@ const inlineContact = v.object({
|
|
|
7
7
|
});
|
|
8
8
|
export const thread = {
|
|
9
9
|
model: v.object({
|
|
10
|
-
emailAccountId: marcoSchemas.string.
|
|
10
|
+
emailAccountId: marcoSchemas.string.required(),
|
|
11
11
|
id: marcoSchemas.string.uuid(),
|
|
12
12
|
messages: v.array(v.object({
|
|
13
13
|
bcc: v.array(inlineContact),
|
|
@@ -18,8 +18,8 @@ export const thread = {
|
|
|
18
18
|
from: inlineContact,
|
|
19
19
|
id: marcoSchemas.string.uuid(),
|
|
20
20
|
labelIds: v.object({
|
|
21
|
-
current: v.array(marcoSchemas.string.
|
|
22
|
-
previous: v.nullable(v.array(marcoSchemas.string.
|
|
21
|
+
current: v.array(marcoSchemas.string.required()),
|
|
22
|
+
previous: v.nullable(v.array(marcoSchemas.string.required())),
|
|
23
23
|
}),
|
|
24
24
|
previewText: marcoSchemas.string.required(marcoConstants.messages.PREVIEW_TEXT_MAX_LENGTH),
|
|
25
25
|
replyTo: v.array(inlineContact),
|
|
@@ -63,9 +63,9 @@ export declare const endpoints: {
|
|
|
63
63
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
64
64
|
}, undefined>, undefined>;
|
|
65
65
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
66
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
66
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
67
67
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
68
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
68
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
69
69
|
readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
70
70
|
readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
71
71
|
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>;
|
|
@@ -209,7 +209,7 @@ export declare const endpoints: {
|
|
|
209
209
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
210
210
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
211
211
|
readonly value: import("valibot").ObjectSchema<{
|
|
212
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
212
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
213
213
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
214
214
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
215
215
|
readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -229,8 +229,8 @@ export declare const endpoints: {
|
|
|
229
229
|
}, undefined>;
|
|
230
230
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
231
231
|
readonly labelIds: import("valibot").ObjectSchema<{
|
|
232
|
-
readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
233
|
-
readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
232
|
+
readonly current: 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>;
|
|
233
|
+
readonly previous: import("valibot").NullableSchema<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>, undefined>;
|
|
234
234
|
}, undefined>;
|
|
235
235
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
236
236
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -378,6 +378,11 @@ export declare const endpoints: {
|
|
|
378
378
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
379
379
|
}, undefined>;
|
|
380
380
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
381
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
382
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
383
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
384
|
+
}, undefined>;
|
|
385
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
381
386
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
382
387
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
383
388
|
}, undefined>], undefined>>;
|
|
@@ -423,7 +428,7 @@ export declare const endpoints: {
|
|
|
423
428
|
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
424
429
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
425
430
|
readonly args: import("valibot").ObjectSchema<{
|
|
426
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
431
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
427
432
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
428
433
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
429
434
|
}, undefined>;
|
|
@@ -505,6 +510,11 @@ export declare const endpoints: {
|
|
|
505
510
|
}, undefined>;
|
|
506
511
|
}, undefined>;
|
|
507
512
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
513
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
514
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
515
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
516
|
+
}, undefined>;
|
|
517
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
508
518
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
509
519
|
readonly data: import("valibot").ObjectSchema<{
|
|
510
520
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -564,9 +574,9 @@ export declare const endpoints: {
|
|
|
564
574
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
565
575
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
566
576
|
readonly data: import("valibot").ObjectSchema<{
|
|
567
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
577
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
568
578
|
}, undefined>;
|
|
569
|
-
readonly status: import("valibot").LiteralSchema<
|
|
579
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
570
580
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
571
581
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
572
582
|
}, undefined>], undefined>>;
|
|
@@ -619,6 +629,11 @@ export declare const endpoints: {
|
|
|
619
629
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
620
630
|
}, undefined>;
|
|
621
631
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
632
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
633
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
634
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
635
|
+
}, undefined>;
|
|
636
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
622
637
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
623
638
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
624
639
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -60,9 +60,9 @@ export declare const privateGroup: {
|
|
|
60
60
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
61
61
|
}, undefined>, undefined>;
|
|
62
62
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
63
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
63
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
64
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
65
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
65
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
66
66
|
readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
67
67
|
readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
68
68
|
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>;
|
|
@@ -206,7 +206,7 @@ export declare const privateGroup: {
|
|
|
206
206
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
207
207
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
208
208
|
readonly value: import("valibot").ObjectSchema<{
|
|
209
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
209
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
210
210
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
211
211
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
212
212
|
readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -226,8 +226,8 @@ export declare const privateGroup: {
|
|
|
226
226
|
}, undefined>;
|
|
227
227
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
228
228
|
readonly labelIds: import("valibot").ObjectSchema<{
|
|
229
|
-
readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
230
|
-
readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
229
|
+
readonly current: 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>;
|
|
230
|
+
readonly previous: import("valibot").NullableSchema<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>, undefined>;
|
|
231
231
|
}, undefined>;
|
|
232
232
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
233
233
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -375,6 +375,11 @@ export declare const privateGroup: {
|
|
|
375
375
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
376
376
|
}, undefined>;
|
|
377
377
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
378
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
379
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
380
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
381
|
+
}, undefined>;
|
|
382
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
378
383
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
379
384
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
380
385
|
}, undefined>], undefined>>;
|
|
@@ -420,7 +425,7 @@ export declare const privateGroup: {
|
|
|
420
425
|
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
421
426
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
422
427
|
readonly args: import("valibot").ObjectSchema<{
|
|
423
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
428
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
424
429
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
425
430
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
426
431
|
}, undefined>;
|
|
@@ -502,6 +507,11 @@ export declare const privateGroup: {
|
|
|
502
507
|
}, undefined>;
|
|
503
508
|
}, undefined>;
|
|
504
509
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
510
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
511
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
512
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
513
|
+
}, undefined>;
|
|
514
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
505
515
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
506
516
|
readonly data: import("valibot").ObjectSchema<{
|
|
507
517
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -561,9 +571,9 @@ export declare const privateGroup: {
|
|
|
561
571
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
562
572
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
563
573
|
readonly data: import("valibot").ObjectSchema<{
|
|
564
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
574
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
565
575
|
}, undefined>;
|
|
566
|
-
readonly status: import("valibot").LiteralSchema<
|
|
576
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
567
577
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
568
578
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
569
579
|
}, undefined>], undefined>>;
|
|
@@ -616,6 +626,11 @@ export declare const privateGroup: {
|
|
|
616
626
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
617
627
|
}, undefined>;
|
|
618
628
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
629
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
630
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
631
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
632
|
+
}, undefined>;
|
|
633
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
619
634
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
620
635
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
621
636
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
|
|
@@ -41,9 +41,9 @@ export declare const sync: {
|
|
|
41
41
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
42
42
|
}, undefined>, undefined>;
|
|
43
43
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
44
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
44
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
45
45
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
46
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
46
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
47
47
|
readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
48
48
|
readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
49
49
|
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>;
|
|
@@ -187,7 +187,7 @@ export declare const sync: {
|
|
|
187
187
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
188
188
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
189
189
|
readonly value: import("valibot").ObjectSchema<{
|
|
190
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
190
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
191
191
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
192
192
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
193
193
|
readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -207,8 +207,8 @@ export declare const sync: {
|
|
|
207
207
|
}, undefined>;
|
|
208
208
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
209
209
|
readonly labelIds: import("valibot").ObjectSchema<{
|
|
210
|
-
readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
211
|
-
readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
210
|
+
readonly current: 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>;
|
|
211
|
+
readonly previous: import("valibot").NullableSchema<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>, undefined>;
|
|
212
212
|
}, undefined>;
|
|
213
213
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
214
214
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -356,6 +356,11 @@ export declare const sync: {
|
|
|
356
356
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
357
357
|
}, undefined>;
|
|
358
358
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
359
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
360
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
361
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
362
|
+
}, undefined>;
|
|
363
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
359
364
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
360
365
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
361
366
|
}, undefined>], undefined>>;
|
|
@@ -401,7 +406,7 @@ export declare const sync: {
|
|
|
401
406
|
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
402
407
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
403
408
|
readonly args: import("valibot").ObjectSchema<{
|
|
404
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
409
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
405
410
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
406
411
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
407
412
|
}, undefined>;
|
|
@@ -483,6 +488,11 @@ export declare const sync: {
|
|
|
483
488
|
}, undefined>;
|
|
484
489
|
}, undefined>;
|
|
485
490
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
491
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
492
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
493
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
494
|
+
}, undefined>;
|
|
495
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
486
496
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
487
497
|
readonly data: import("valibot").ObjectSchema<{
|
|
488
498
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -542,9 +552,9 @@ export declare const sync: {
|
|
|
542
552
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
543
553
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
544
554
|
readonly data: import("valibot").ObjectSchema<{
|
|
545
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
555
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
546
556
|
}, undefined>;
|
|
547
|
-
readonly status: import("valibot").LiteralSchema<
|
|
557
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
548
558
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
549
559
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
550
560
|
}, undefined>], undefined>>;
|
|
@@ -597,6 +607,11 @@ export declare const sync: {
|
|
|
597
607
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
598
608
|
}, undefined>;
|
|
599
609
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
610
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
611
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
612
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
613
|
+
}, undefined>;
|
|
614
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
600
615
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
601
616
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
602
617
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -40,9 +40,9 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
|
|
|
40
40
|
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
41
41
|
}, undefined>, undefined>;
|
|
42
42
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
43
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
43
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
44
|
readonly labels: v.ArraySchema<v.ObjectSchema<{
|
|
45
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
45
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
46
46
|
readonly name: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
47
47
|
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
48
48
|
readonly specialUse: v.NullableSchema<v.UnionSchema<[v.LiteralSchema<"ARCHIVE", undefined>, v.LiteralSchema<"INBOX", undefined>, v.LiteralSchema<"SENT", undefined>, v.LiteralSchema<"SPAM", undefined>, v.LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
|
|
@@ -40,9 +40,9 @@ export declare const pull: {
|
|
|
40
40
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
41
41
|
}, undefined>, undefined>;
|
|
42
42
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
43
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
43
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
44
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
45
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
45
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
46
46
|
readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
47
47
|
readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
48
48
|
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>;
|
|
@@ -186,7 +186,7 @@ export declare const pull: {
|
|
|
186
186
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
187
187
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
188
188
|
readonly value: import("valibot").ObjectSchema<{
|
|
189
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
189
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
190
190
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
191
191
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
192
192
|
readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -206,8 +206,8 @@ export declare const pull: {
|
|
|
206
206
|
}, undefined>;
|
|
207
207
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
208
208
|
readonly labelIds: import("valibot").ObjectSchema<{
|
|
209
|
-
readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
210
|
-
readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
209
|
+
readonly current: 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>;
|
|
210
|
+
readonly previous: import("valibot").NullableSchema<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>, undefined>;
|
|
211
211
|
}, undefined>;
|
|
212
212
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
213
213
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -39,7 +39,7 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
39
39
|
readonly key: v.StringSchema<undefined>;
|
|
40
40
|
readonly op: v.LiteralSchema<"put", undefined>;
|
|
41
41
|
readonly value: v.ObjectSchema<{
|
|
42
|
-
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
42
|
+
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
43
43
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
44
44
|
readonly messages: v.ArraySchema<v.ObjectSchema<{
|
|
45
45
|
readonly bcc: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -59,8 +59,8 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
59
59
|
}, undefined>;
|
|
60
60
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
61
61
|
readonly labelIds: v.ObjectSchema<{
|
|
62
|
-
readonly current: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
63
|
-
readonly previous: v.NullableSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
62
|
+
readonly current: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
63
|
+
readonly previous: v.NullableSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>, undefined>;
|
|
64
64
|
}, undefined>;
|
|
65
65
|
readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
66
66
|
readonly replyTo: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -87,6 +87,11 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
87
87
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
88
88
|
}, undefined>;
|
|
89
89
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
90
|
+
}, undefined>, v.ObjectSchema<{
|
|
91
|
+
readonly data: v.ObjectSchema<{
|
|
92
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
93
|
+
}, undefined>;
|
|
94
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
90
95
|
}, undefined>, v.ObjectSchema<{
|
|
91
96
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
92
97
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA0C1B,CAAA"}
|
|
@@ -41,7 +41,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
41
41
|
readonly name: v.LiteralSchema<"setContent", undefined>;
|
|
42
42
|
}, undefined> | v.ObjectSchema<{
|
|
43
43
|
readonly args: v.ObjectSchema<{
|
|
44
|
-
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
44
|
+
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
45
45
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
46
46
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
47
47
|
}, undefined>;
|
|
@@ -123,6 +123,11 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
123
123
|
}, undefined>;
|
|
124
124
|
}, undefined>;
|
|
125
125
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
126
|
+
}, undefined>, v.ObjectSchema<{
|
|
127
|
+
readonly data: v.ObjectSchema<{
|
|
128
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
129
|
+
}, undefined>;
|
|
130
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
126
131
|
}, undefined>, v.ObjectSchema<{
|
|
127
132
|
readonly data: v.ObjectSchema<{
|
|
128
133
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAsDxB,CAAA"}
|
|
@@ -87,6 +87,11 @@ export declare const push: {
|
|
|
87
87
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
88
88
|
}, undefined>;
|
|
89
89
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
90
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
91
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
92
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
93
|
+
}, undefined>;
|
|
94
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
90
95
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
91
96
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
92
97
|
}, undefined>], undefined>>;
|
|
@@ -132,7 +137,7 @@ export declare const push: {
|
|
|
132
137
|
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
133
138
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
134
139
|
readonly args: import("valibot").ObjectSchema<{
|
|
135
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
140
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
136
141
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
137
142
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
138
143
|
}, undefined>;
|
|
@@ -214,6 +219,11 @@ export declare const push: {
|
|
|
214
219
|
}, undefined>;
|
|
215
220
|
}, undefined>;
|
|
216
221
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
222
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
223
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
224
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
225
|
+
}, undefined>;
|
|
226
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
217
227
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
218
228
|
readonly data: import("valibot").ObjectSchema<{
|
|
219
229
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -273,9 +283,9 @@ export declare const push: {
|
|
|
273
283
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
274
284
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
275
285
|
readonly data: import("valibot").ObjectSchema<{
|
|
276
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
286
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
277
287
|
}, undefined>;
|
|
278
|
-
readonly status: import("valibot").LiteralSchema<
|
|
288
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
279
289
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
280
290
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
281
291
|
}, undefined>], undefined>>;
|
|
@@ -328,6 +338,11 @@ export declare const push: {
|
|
|
328
338
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
329
339
|
}, undefined>;
|
|
330
340
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
341
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
342
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
343
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
344
|
+
}, undefined>;
|
|
345
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
331
346
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
332
347
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
333
348
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
|
|
@@ -50,9 +50,9 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
|
|
|
50
50
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
51
51
|
}, undefined>, v.ObjectSchema<{
|
|
52
52
|
readonly data: v.ObjectSchema<{
|
|
53
|
-
readonly code: v.LiteralSchema<"
|
|
53
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
54
54
|
}, undefined>;
|
|
55
|
-
readonly status: v.LiteralSchema<
|
|
55
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
56
56
|
}, undefined>, v.ObjectSchema<{
|
|
57
57
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
58
58
|
}, undefined>], undefined>>;
|
|
@@ -37,7 +37,7 @@ export const syncPushThread = createEndpoint({
|
|
|
37
37
|
response: v.union([
|
|
38
38
|
errors.validationFailedErrorSchema,
|
|
39
39
|
errors.authFailedErrorSchema,
|
|
40
|
-
errors.
|
|
40
|
+
errors.mutationDriftErrorSchema,
|
|
41
41
|
v.object({ status: v.literal(200) }),
|
|
42
42
|
]),
|
|
43
43
|
});
|
|
@@ -48,6 +48,11 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
48
48
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
49
49
|
}, undefined>;
|
|
50
50
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
51
|
+
}, undefined>, v.ObjectSchema<{
|
|
52
|
+
readonly data: v.ObjectSchema<{
|
|
53
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
54
|
+
}, undefined>;
|
|
55
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
51
56
|
}, undefined>, v.ObjectSchema<{
|
|
52
57
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
53
58
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwBvB,CAAA"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -62,9 +62,9 @@ export declare const marcoSDK: {
|
|
|
62
62
|
readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
|
|
63
63
|
}, undefined>, undefined>;
|
|
64
64
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
65
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
65
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
66
66
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
67
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
67
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
68
68
|
readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
69
69
|
readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
70
70
|
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>;
|
|
@@ -208,7 +208,7 @@ export declare const marcoSDK: {
|
|
|
208
208
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
209
209
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
210
210
|
readonly value: import("valibot").ObjectSchema<{
|
|
211
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
211
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
212
212
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
213
213
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
214
214
|
readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -228,8 +228,8 @@ export declare const marcoSDK: {
|
|
|
228
228
|
}, undefined>;
|
|
229
229
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
230
230
|
readonly labelIds: import("valibot").ObjectSchema<{
|
|
231
|
-
readonly current: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
232
|
-
readonly previous: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
231
|
+
readonly current: 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>;
|
|
232
|
+
readonly previous: import("valibot").NullableSchema<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>, undefined>;
|
|
233
233
|
}, 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<{
|
|
@@ -377,6 +377,11 @@ export declare const marcoSDK: {
|
|
|
377
377
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
378
378
|
}, undefined>;
|
|
379
379
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
380
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
381
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
382
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
383
|
+
}, undefined>;
|
|
384
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
380
385
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
381
386
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
382
387
|
}, undefined>], undefined>>;
|
|
@@ -422,7 +427,7 @@ export declare const marcoSDK: {
|
|
|
422
427
|
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
423
428
|
}, undefined> | import("valibot").ObjectSchema<{
|
|
424
429
|
readonly args: import("valibot").ObjectSchema<{
|
|
425
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
430
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
426
431
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
427
432
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
428
433
|
}, undefined>;
|
|
@@ -504,6 +509,11 @@ export declare const marcoSDK: {
|
|
|
504
509
|
}, undefined>;
|
|
505
510
|
}, undefined>;
|
|
506
511
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
512
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
513
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
514
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
515
|
+
}, undefined>;
|
|
516
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
507
517
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
508
518
|
readonly data: import("valibot").ObjectSchema<{
|
|
509
519
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -563,9 +573,9 @@ export declare const marcoSDK: {
|
|
|
563
573
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
564
574
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
565
575
|
readonly data: import("valibot").ObjectSchema<{
|
|
566
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
576
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
567
577
|
}, undefined>;
|
|
568
|
-
readonly status: import("valibot").LiteralSchema<
|
|
578
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
569
579
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
570
580
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
571
581
|
}, undefined>], undefined>>;
|
|
@@ -618,6 +628,11 @@ export declare const marcoSDK: {
|
|
|
618
628
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
619
629
|
}, undefined>;
|
|
620
630
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
631
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
632
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
633
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
634
|
+
}, undefined>;
|
|
635
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
621
636
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
622
637
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
623
638
|
}, undefined>], undefined>>;
|
|
@@ -803,6 +818,18 @@ export declare const marcoSDK: {
|
|
|
803
818
|
}, undefined>;
|
|
804
819
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
805
820
|
}, undefined>;
|
|
821
|
+
readonly mutationDriftErrorSchema: import("valibot").ObjectSchema<{
|
|
822
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
823
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
824
|
+
}, undefined>;
|
|
825
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
826
|
+
}, undefined>;
|
|
827
|
+
readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
828
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
829
|
+
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
830
|
+
}, undefined>;
|
|
831
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
832
|
+
}, undefined>;
|
|
806
833
|
readonly userNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
807
834
|
readonly data: import("valibot").ObjectSchema<{
|
|
808
835
|
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
|
@@ -47,6 +47,18 @@ export declare const messageNotFoundErrorSchema: v.ObjectSchema<{
|
|
|
47
47
|
}, undefined>;
|
|
48
48
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
49
49
|
}, undefined>;
|
|
50
|
+
export declare const threadNotFoundErrorSchema: v.ObjectSchema<{
|
|
51
|
+
readonly data: v.ObjectSchema<{
|
|
52
|
+
readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
53
|
+
}, undefined>;
|
|
54
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
55
|
+
}, undefined>;
|
|
56
|
+
export declare const mutationDriftErrorSchema: v.ObjectSchema<{
|
|
57
|
+
readonly data: v.ObjectSchema<{
|
|
58
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
59
|
+
}, undefined>;
|
|
60
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
61
|
+
}, undefined>;
|
|
50
62
|
export declare const validationFailedErrorSchema: v.ObjectSchema<{
|
|
51
63
|
readonly data: v.ObjectSchema<{
|
|
52
64
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -101,6 +113,18 @@ export declare const errors: {
|
|
|
101
113
|
}, undefined>;
|
|
102
114
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
103
115
|
}, undefined>;
|
|
116
|
+
readonly mutationDriftErrorSchema: v.ObjectSchema<{
|
|
117
|
+
readonly data: v.ObjectSchema<{
|
|
118
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
119
|
+
}, undefined>;
|
|
120
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
121
|
+
}, undefined>;
|
|
122
|
+
readonly threadNotFoundErrorSchema: v.ObjectSchema<{
|
|
123
|
+
readonly data: v.ObjectSchema<{
|
|
124
|
+
readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
125
|
+
}, undefined>;
|
|
126
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
127
|
+
}, undefined>;
|
|
104
128
|
readonly userNotFoundErrorSchema: v.ObjectSchema<{
|
|
105
129
|
readonly data: v.ObjectSchema<{
|
|
106
130
|
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYT,CAAA"}
|
|
@@ -31,6 +31,14 @@ export const messageNotFoundErrorSchema = v.object({
|
|
|
31
31
|
data: v.object({ code: v.literal('MESSAGE_NOT_FOUND') }),
|
|
32
32
|
status: v.literal(404),
|
|
33
33
|
});
|
|
34
|
+
export const threadNotFoundErrorSchema = v.object({
|
|
35
|
+
data: v.object({ code: v.literal('MESSAGE_NOT_FOUND') }),
|
|
36
|
+
status: v.literal(404),
|
|
37
|
+
});
|
|
38
|
+
export const mutationDriftErrorSchema = v.object({
|
|
39
|
+
data: v.object({ code: v.literal('MUTATION_REJECTED') }),
|
|
40
|
+
status: v.literal(409),
|
|
41
|
+
});
|
|
34
42
|
export const validationFailedErrorSchema = v.object({
|
|
35
43
|
data: v.object({
|
|
36
44
|
code: v.literal('VALIDATION_FAILED'),
|
|
@@ -50,6 +58,8 @@ export const errors = {
|
|
|
50
58
|
authServerResponseUnexpectedErrorSchema,
|
|
51
59
|
authTooManyAttemptsErrorSchema,
|
|
52
60
|
messageNotFoundErrorSchema,
|
|
61
|
+
mutationDriftErrorSchema,
|
|
62
|
+
threadNotFoundErrorSchema,
|
|
53
63
|
userNotFoundErrorSchema,
|
|
54
64
|
validationFailedErrorSchema,
|
|
55
65
|
};
|
|
@@ -42,6 +42,18 @@ export declare const validation: {
|
|
|
42
42
|
}, undefined>;
|
|
43
43
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
44
44
|
}, undefined>;
|
|
45
|
+
readonly mutationDriftErrorSchema: import("valibot").ObjectSchema<{
|
|
46
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
47
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
48
|
+
}, undefined>;
|
|
49
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
50
|
+
}, undefined>;
|
|
51
|
+
readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
52
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
53
|
+
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
54
|
+
}, undefined>;
|
|
55
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
56
|
+
}, undefined>;
|
|
45
57
|
readonly userNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
46
58
|
readonly data: import("valibot").ObjectSchema<{
|
|
47
59
|
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
|
package/dist/types/SDKError.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { errors } from '../sdk/validation/errors';
|
|
3
|
-
export type SDKError = v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema>;
|
|
3
|
+
export type SDKError = v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.mutationDriftErrorSchema>;
|
|
4
4
|
//# sourceMappingURL=SDKError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAE5D,MAAM,MAAM,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,8BAA8B,CAAC,GAC3D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,qBAAqB,CAAC,GAClD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAE5D,MAAM,MAAM,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,8BAA8B,CAAC,GAC3D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,qBAAqB,CAAC,GAClD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,CAAA"}
|
package/package.json
CHANGED