@marcoappio/marco-config 2.0.162 → 2.0.164
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clients/account.d.ts +7 -7
- package/dist/clients/account.js +6 -6
- package/dist/clients/contact.d.ts +1 -1
- package/dist/clients/contact.js +1 -1
- package/dist/clients/draft.d.ts +12 -77
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +25 -27
- package/dist/clients/index.d.ts +27 -93
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/thread.d.ts +5 -5
- package/dist/clients/thread.js +5 -5
- package/dist/clients/user.d.ts +3 -3
- package/dist/clients/user.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/schemas.d.ts +1 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +2 -1
- package/dist/sdk/endpoints/index.d.ts +39 -107
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/{email-message/email-message-html-get.d.ts → emailMessage/getEmailMessageHTML.d.ts} +2 -2
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/{email-message/email-message-html-get.js → emailMessage/getEmailMessageHTML.js} +1 -1
- package/dist/sdk/endpoints/private/{email-message → emailMessage}/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/emailMessage/index.js +4 -0
- package/dist/sdk/endpoints/private/index.d.ts +35 -103
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.js +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +33 -101
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +4 -5
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +15 -16
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +6 -6
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +6 -73
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +1 -7
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +18 -85
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +3 -3
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts +1 -1
- package/dist/sdk/endpoints/private/user/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +3 -3
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts +1 -1
- package/dist/sdk/endpoints/public/index.d.ts +4 -4
- package/dist/sdk/index.d.ts +39 -107
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/types/JSONContent.d.ts +11 -0
- package/dist/types/JSONContent.d.ts.map +1 -0
- package/dist/types/JSONContent.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/package.json +2 -2
- package/dist/sdk/endpoints/private/email-message/email-message-html-get.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/email-message/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/email-message/index.js +0 -4
package/dist/clients/thread.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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.
|
|
5
|
-
readonly id: 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.UuidAction<string, undefined>]>, undefined>;
|
|
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<{
|
|
8
8
|
readonly emailAddresses: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -19,7 +19,7 @@ export declare const thread: {
|
|
|
19
19
|
readonly emailAddresses: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
20
20
|
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
21
21
|
}, undefined>;
|
|
22
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
22
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
23
23
|
readonly labelIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
24
24
|
readonly previewText: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
25
25
|
readonly replyTo: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -36,9 +36,9 @@ export declare const thread: {
|
|
|
36
36
|
mutators: {
|
|
37
37
|
setMessageSeen: {
|
|
38
38
|
delta: v.ObjectSchema<{
|
|
39
|
-
readonly messageId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
39
|
+
readonly messageId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
40
40
|
readonly seen: v.BooleanSchema<undefined>;
|
|
41
|
-
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
41
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
42
42
|
}, undefined>;
|
|
43
43
|
};
|
|
44
44
|
};
|
package/dist/clients/thread.js
CHANGED
|
@@ -6,8 +6,8 @@ const inlineContact = v.object({
|
|
|
6
6
|
});
|
|
7
7
|
export const thread = {
|
|
8
8
|
model: v.object({
|
|
9
|
-
emailAccountId: marcoSchemas.string.
|
|
10
|
-
id: marcoSchemas.string.
|
|
9
|
+
emailAccountId: marcoSchemas.string.uuid(),
|
|
10
|
+
id: marcoSchemas.string.uuid(),
|
|
11
11
|
messages: v.array(v.object({
|
|
12
12
|
bcc: v.array(inlineContact),
|
|
13
13
|
cc: v.array(inlineContact),
|
|
@@ -15,7 +15,7 @@ export const thread = {
|
|
|
15
15
|
envelopeSubject: marcoSchemas.string.required(),
|
|
16
16
|
flagged: v.boolean(),
|
|
17
17
|
from: inlineContact,
|
|
18
|
-
id: marcoSchemas.string.
|
|
18
|
+
id: marcoSchemas.string.uuid(),
|
|
19
19
|
labelIds: v.array(marcoSchemas.string.required()),
|
|
20
20
|
previewText: marcoSchemas.string.required(),
|
|
21
21
|
replyTo: v.array(inlineContact),
|
|
@@ -26,9 +26,9 @@ export const thread = {
|
|
|
26
26
|
mutators: {
|
|
27
27
|
setMessageSeen: {
|
|
28
28
|
delta: v.object({
|
|
29
|
-
messageId: marcoSchemas.string.
|
|
29
|
+
messageId: marcoSchemas.string.uuid(),
|
|
30
30
|
seen: v.boolean(),
|
|
31
|
-
threadId: marcoSchemas.string.
|
|
31
|
+
threadId: marcoSchemas.string.uuid(),
|
|
32
32
|
}),
|
|
33
33
|
},
|
|
34
34
|
},
|
package/dist/clients/user.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const user: {
|
|
3
3
|
model: v.ObjectSchema<{
|
|
4
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
4
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
5
5
|
readonly settings: v.ObjectSchema<{
|
|
6
6
|
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
7
7
|
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -10,7 +10,7 @@ export declare const user: {
|
|
|
10
10
|
mutators: {
|
|
11
11
|
setSettings: {
|
|
12
12
|
delta: v.ObjectSchema<{
|
|
13
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.
|
|
13
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
14
14
|
readonly settings: Omit<v.ObjectSchema<{
|
|
15
15
|
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
16
16
|
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -19,7 +19,7 @@ export declare const user: {
|
|
|
19
19
|
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
20
20
|
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
21
21
|
};
|
|
22
|
-
readonly '~standard': v.
|
|
22
|
+
readonly '~standard': v.StandardProps<{
|
|
23
23
|
firstName?: string | null | undefined;
|
|
24
24
|
lastName?: string | null | undefined;
|
|
25
25
|
}, {
|
package/dist/clients/user.js
CHANGED
|
@@ -6,13 +6,13 @@ const userSettings = v.object({
|
|
|
6
6
|
});
|
|
7
7
|
export const user = {
|
|
8
8
|
model: v.object({
|
|
9
|
-
id: marcoSchemas.string.
|
|
9
|
+
id: marcoSchemas.string.uuid(),
|
|
10
10
|
settings: userSettings,
|
|
11
11
|
}),
|
|
12
12
|
mutators: {
|
|
13
13
|
setSettings: {
|
|
14
14
|
delta: v.object({
|
|
15
|
-
id: marcoSchemas.string.
|
|
15
|
+
id: marcoSchemas.string.uuid(),
|
|
16
16
|
settings: v.partial(userSettings),
|
|
17
17
|
}),
|
|
18
18
|
},
|
package/dist/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export { marcoPublicConfig, MARCO_ENV, MarcoEnvironment } from './marcoPublicCon
|
|
|
4
4
|
export { marcoSchemas } from './schemas';
|
|
5
5
|
export { marcoSDK } from './sdk';
|
|
6
6
|
export { marcoWS } from './ws';
|
|
7
|
-
export { MarcoWSEvent, MarcoClient, MarcoWSSyncPoke, EndpointConfig, EndpointError, EndpointResponse, LabelSpecialUse } from './types';
|
|
7
|
+
export { MarcoWSEvent, MarcoClient, MarcoWSSyncPoke, EndpointConfig, EndpointError, JSONContent, EndpointResponse, LabelSpecialUse } from './types';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const marcoSchemas: {
|
|
|
12
12
|
nullable: () => import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
13
13
|
optional: () => import("valibot").UndefinedableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
14
14
|
required: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
15
|
+
uuid: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
15
16
|
};
|
|
16
17
|
};
|
|
17
18
|
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;sBAcP,MAAM,OAAO,MAAM;;;;;uBAQlB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;yBAEpB,MAAM
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;sBAcP,MAAM,OAAO,MAAM;;;;;uBAQlB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;yBAEpB,MAAM;;;;;;CAW1B,CAAA"}
|
package/dist/schemas.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { email, enum as enumValidator, integer, literal, maxLength, maxValue, minValue, nonEmpty, nonOptional, nullable, number, pipe, string, undefinedable, union, regex as v_regex } from 'valibot';
|
|
1
|
+
import { email, enum as enumValidator, integer, literal, maxLength, maxValue, minValue, nonEmpty, nonOptional, nullable, number, pipe, string, undefinedable, union, uuid, regex as v_regex } from 'valibot';
|
|
2
2
|
export const marcoSchemas = {
|
|
3
3
|
emailAccountConnectionState: () => union([
|
|
4
4
|
literal('AWAITING_CONNECTION'),
|
|
@@ -23,5 +23,6 @@ export const marcoSchemas = {
|
|
|
23
23
|
nullable: () => nullable(pipe(string(), maxLength(255))),
|
|
24
24
|
optional: () => undefinedable(pipe(string(), maxLength(255))),
|
|
25
25
|
required: () => nonOptional(pipe(string(), nonEmpty(), maxLength(255))),
|
|
26
|
+
uuid: () => nonOptional(pipe(string(), nonEmpty(), uuid())),
|
|
26
27
|
},
|
|
27
28
|
};
|
|
@@ -3,7 +3,7 @@ import { EndpointConfig } from '../../types';
|
|
|
3
3
|
export declare const endpoints: {
|
|
4
4
|
private: {
|
|
5
5
|
emailMessage: {
|
|
6
|
-
|
|
6
|
+
getHTML: EndpointConfig<"/v1/pv/message/:messageId/html", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
7
7
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
8
8
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
9
9
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -21,7 +21,7 @@ export declare const endpoints: {
|
|
|
21
21
|
account: EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
|
22
22
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
23
23
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
24
|
-
}, undefined>, GenericSchema
|
|
24
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
25
25
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
26
26
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
27
27
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -41,7 +41,7 @@ export declare const endpoints: {
|
|
|
41
41
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
42
42
|
readonly value: import("valibot").ObjectSchema<{
|
|
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").UuidAction<string, undefined>]>, undefined>;
|
|
45
45
|
readonly imapPasswordConfig: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
46
46
|
readonly host: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
47
47
|
readonly password: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -49,7 +49,7 @@ export declare const endpoints: {
|
|
|
49
49
|
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED", undefined>], undefined>;
|
|
50
50
|
}, undefined>, undefined>;
|
|
51
51
|
readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
52
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
52
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
53
53
|
readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
54
54
|
readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
55
55
|
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>;
|
|
@@ -71,7 +71,7 @@ export declare const endpoints: {
|
|
|
71
71
|
contact: EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
72
72
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
73
73
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
74
|
-
}, undefined>, GenericSchema
|
|
74
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
75
75
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
76
76
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
77
77
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -90,7 +90,7 @@ export declare const endpoints: {
|
|
|
90
90
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
91
91
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
92
92
|
readonly value: import("valibot").ObjectSchema<{
|
|
93
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
93
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
94
94
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
95
95
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
96
96
|
}, undefined>;
|
|
@@ -101,7 +101,7 @@ export declare const endpoints: {
|
|
|
101
101
|
draft: EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
102
102
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
103
103
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
104
|
-
}, undefined>, GenericSchema
|
|
104
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
105
105
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
106
106
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
107
107
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -123,13 +123,12 @@ export declare const endpoints: {
|
|
|
123
123
|
readonly body: import("valibot").ObjectSchema<{
|
|
124
124
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
125
125
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
126
|
-
readonly content: import("
|
|
127
|
-
readonly replyTo: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
126
|
+
readonly content: GenericSchema<import("../../types").JSONContent>;
|
|
128
127
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
129
128
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
130
129
|
}, undefined>;
|
|
131
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
132
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
130
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
131
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
133
132
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
134
133
|
}, undefined>;
|
|
135
134
|
}, undefined>], undefined>, undefined>;
|
|
@@ -143,7 +142,7 @@ export declare const endpoints: {
|
|
|
143
142
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
144
143
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
145
144
|
}, undefined>, undefined>;
|
|
146
|
-
}, undefined>, GenericSchema
|
|
145
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
147
146
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
148
147
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
149
148
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -167,8 +166,8 @@ export declare const endpoints: {
|
|
|
167
166
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
168
167
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
169
168
|
readonly value: import("valibot").ObjectSchema<{
|
|
170
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
171
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
169
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
170
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
172
171
|
readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
173
172
|
readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
174
173
|
readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -185,7 +184,7 @@ export declare const endpoints: {
|
|
|
185
184
|
readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
186
185
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
187
186
|
}, undefined>;
|
|
188
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
187
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
189
188
|
readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
190
189
|
readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
191
190
|
readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -206,7 +205,7 @@ export declare const endpoints: {
|
|
|
206
205
|
user: EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
207
206
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
208
207
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
209
|
-
}, undefined>, GenericSchema
|
|
208
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
210
209
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
211
210
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
212
211
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -225,7 +224,7 @@ export declare const endpoints: {
|
|
|
225
224
|
readonly key: import("valibot").StringSchema<undefined>;
|
|
226
225
|
readonly op: import("valibot").LiteralSchema<"put", undefined>;
|
|
227
226
|
readonly value: import("valibot").ObjectSchema<{
|
|
228
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
227
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
229
228
|
readonly settings: import("valibot").ObjectSchema<{
|
|
230
229
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
231
230
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -241,7 +240,7 @@ export declare const endpoints: {
|
|
|
241
240
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
242
241
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
243
242
|
readonly args: import("valibot").ObjectSchema<{
|
|
244
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
243
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
245
244
|
readonly imapPasswordConfig: import("valibot").ObjectSchema<{
|
|
246
245
|
readonly status: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
|
|
247
246
|
readonly host: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -256,21 +255,21 @@ export declare const endpoints: {
|
|
|
256
255
|
readonly args: import("valibot").ObjectSchema<{
|
|
257
256
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
258
257
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
259
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
258
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
260
259
|
}, undefined>;
|
|
261
260
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
262
261
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
263
262
|
readonly name: import("valibot").LiteralSchema<"add", undefined>;
|
|
264
263
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
265
264
|
readonly args: import("valibot").ObjectSchema<{
|
|
266
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
265
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
267
266
|
}, undefined>;
|
|
268
267
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
269
268
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
270
269
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
271
270
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
272
271
|
readonly args: import("valibot").ObjectSchema<{
|
|
273
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
272
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
274
273
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
275
274
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
276
275
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -281,7 +280,7 @@ export declare const endpoints: {
|
|
|
281
280
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
282
281
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
283
282
|
};
|
|
284
|
-
readonly '~standard': import("valibot").
|
|
283
|
+
readonly '~standard': import("valibot").StandardProps<{
|
|
285
284
|
color?: string | undefined;
|
|
286
285
|
firstName?: string | null | undefined;
|
|
287
286
|
lastName?: string | null | undefined;
|
|
@@ -314,7 +313,7 @@ export declare const endpoints: {
|
|
|
314
313
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
315
314
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
316
315
|
}, undefined>], undefined>, undefined>;
|
|
317
|
-
}, undefined>, GenericSchema
|
|
316
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
318
317
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
319
318
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
320
319
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -327,96 +326,29 @@ export declare const endpoints: {
|
|
|
327
326
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
328
327
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
329
328
|
readonly args: import("valibot").ObjectSchema<{
|
|
330
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
329
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
331
330
|
}, undefined>;
|
|
332
331
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
333
332
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
334
333
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
335
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
336
|
-
readonly args: import("valibot").ObjectSchema<{
|
|
337
|
-
readonly body: Omit<import("valibot").ObjectSchema<{
|
|
338
|
-
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
339
|
-
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
340
|
-
readonly content: import("valibot").UnknownSchema;
|
|
341
|
-
readonly replyTo: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
342
|
-
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
343
|
-
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
344
|
-
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
345
|
-
readonly entries: {
|
|
346
|
-
readonly bcc: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
347
|
-
readonly cc: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
348
|
-
readonly content: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
349
|
-
readonly replyTo: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
350
|
-
readonly subject: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
351
|
-
readonly to: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>, undefined>;
|
|
352
|
-
};
|
|
353
|
-
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
354
|
-
bcc?: string[] | undefined;
|
|
355
|
-
cc?: string[] | undefined;
|
|
356
|
-
replyTo?: string[] | undefined;
|
|
357
|
-
to?: string[] | undefined;
|
|
358
|
-
content?: unknown;
|
|
359
|
-
subject?: string | undefined;
|
|
360
|
-
}, {
|
|
361
|
-
bcc?: string[] | undefined;
|
|
362
|
-
cc?: string[] | undefined;
|
|
363
|
-
replyTo?: string[] | undefined;
|
|
364
|
-
to?: string[] | undefined;
|
|
365
|
-
content?: unknown;
|
|
366
|
-
subject?: string | undefined;
|
|
367
|
-
}>;
|
|
368
|
-
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
369
|
-
bcc?: string[] | undefined;
|
|
370
|
-
cc?: string[] | undefined;
|
|
371
|
-
replyTo?: string[] | undefined;
|
|
372
|
-
to?: string[] | undefined;
|
|
373
|
-
content?: unknown;
|
|
374
|
-
subject?: string | undefined;
|
|
375
|
-
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue>;
|
|
376
|
-
readonly '~types'?: {
|
|
377
|
-
readonly input: {
|
|
378
|
-
bcc?: string[] | undefined;
|
|
379
|
-
cc?: string[] | undefined;
|
|
380
|
-
replyTo?: string[] | undefined;
|
|
381
|
-
to?: string[] | undefined;
|
|
382
|
-
content?: unknown;
|
|
383
|
-
subject?: string | undefined;
|
|
384
|
-
};
|
|
385
|
-
readonly output: {
|
|
386
|
-
bcc?: string[] | undefined;
|
|
387
|
-
cc?: string[] | undefined;
|
|
388
|
-
replyTo?: string[] | undefined;
|
|
389
|
-
to?: string[] | undefined;
|
|
390
|
-
content?: unknown;
|
|
391
|
-
subject?: string | undefined;
|
|
392
|
-
};
|
|
393
|
-
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue;
|
|
394
|
-
} | undefined;
|
|
395
|
-
};
|
|
396
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
397
|
-
}, undefined>;
|
|
398
|
-
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
399
|
-
readonly id: import("valibot").NumberSchema<undefined>;
|
|
400
|
-
readonly name: import("valibot").LiteralSchema<"update", undefined>;
|
|
401
334
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
402
335
|
readonly args: import("valibot").ObjectSchema<{
|
|
403
336
|
readonly body: import("valibot").ObjectSchema<{
|
|
404
337
|
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
405
338
|
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
406
|
-
readonly content: import("
|
|
407
|
-
readonly replyTo: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
339
|
+
readonly content: GenericSchema<import("../../types").JSONContent>;
|
|
408
340
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
409
341
|
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
410
342
|
}, undefined>;
|
|
411
|
-
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
412
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
343
|
+
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
344
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
413
345
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
414
346
|
}, undefined>;
|
|
415
347
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
416
348
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
417
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
349
|
+
readonly name: import("valibot").LiteralSchema<"update", undefined>;
|
|
418
350
|
}, undefined>], undefined>, undefined>;
|
|
419
|
-
}, undefined>, GenericSchema
|
|
351
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
420
352
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
421
353
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
422
354
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -429,15 +361,15 @@ export declare const endpoints: {
|
|
|
429
361
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
430
362
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
431
363
|
readonly args: import("valibot").ObjectSchema<{
|
|
432
|
-
readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
364
|
+
readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
433
365
|
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
434
|
-
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
366
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
435
367
|
}, undefined>;
|
|
436
368
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
437
369
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
438
370
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
439
371
|
}, undefined>], undefined>, undefined>;
|
|
440
|
-
}, undefined>, GenericSchema
|
|
372
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
441
373
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
442
374
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
443
375
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -453,7 +385,7 @@ export declare const endpoints: {
|
|
|
453
385
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
454
386
|
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
455
387
|
readonly args: import("valibot").ObjectSchema<{
|
|
456
|
-
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").
|
|
388
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
457
389
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
458
390
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
459
391
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -462,7 +394,7 @@ export declare const endpoints: {
|
|
|
462
394
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
463
395
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
464
396
|
};
|
|
465
|
-
readonly '~standard': import("valibot").
|
|
397
|
+
readonly '~standard': import("valibot").StandardProps<{
|
|
466
398
|
firstName?: string | null | undefined;
|
|
467
399
|
lastName?: string | null | undefined;
|
|
468
400
|
}, {
|
|
@@ -490,7 +422,7 @@ export declare const endpoints: {
|
|
|
490
422
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
491
423
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
492
424
|
}, undefined>], undefined>, undefined>;
|
|
493
|
-
}, undefined>, GenericSchema
|
|
425
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
494
426
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
495
427
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
496
428
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -502,7 +434,7 @@ export declare const endpoints: {
|
|
|
502
434
|
};
|
|
503
435
|
};
|
|
504
436
|
user: {
|
|
505
|
-
deleteUser: EndpointConfig<"/v1/pv/user", GenericSchema
|
|
437
|
+
deleteUser: EndpointConfig<"/v1/pv/user", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
506
438
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
507
439
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
508
440
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -514,7 +446,7 @@ export declare const endpoints: {
|
|
|
514
446
|
auth: {
|
|
515
447
|
refreshAuth: EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
516
448
|
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
517
|
-
}, undefined>, GenericSchema
|
|
449
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
518
450
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
519
451
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
520
452
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -542,7 +474,7 @@ export declare const endpoints: {
|
|
|
542
474
|
}, undefined>], undefined>>;
|
|
543
475
|
sendAuthCode: EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
544
476
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
545
|
-
}, undefined>, GenericSchema
|
|
477
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
546
478
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
547
479
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
548
480
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -554,7 +486,7 @@ export declare const endpoints: {
|
|
|
554
486
|
verifyAuthCode: EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
555
487
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
556
488
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
557
|
-
}, undefined>, GenericSchema
|
|
489
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
558
490
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
559
491
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
560
492
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -590,7 +522,7 @@ export declare const endpoints: {
|
|
|
590
522
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
591
523
|
}, undefined>], undefined>>;
|
|
592
524
|
};
|
|
593
|
-
healthcheck: EndpointConfig<"/v1/pb/healthcheck", GenericSchema
|
|
525
|
+
healthcheck: EndpointConfig<"/v1/pb/healthcheck", GenericSchema | undefined, GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
594
526
|
readonly data: import("valibot").ObjectSchema<{
|
|
595
527
|
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
596
528
|
}, 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,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|