@marcoappio/marco-config 2.0.165 → 2.0.167
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 +1 -1
- package/dist/clients/draft.d.ts +2 -3
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +1 -11
- package/dist/clients/index.d.ts +4 -4
- package/dist/clients/user.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.d.ts +19 -19
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts +1 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +15 -15
- package/dist/sdk/endpoints/private/sync/index.d.ts +13 -13
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +6 -6
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +7 -7
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +2 -2
- 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 +19 -19
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -1
- package/package.json +2 -2
- package/dist/types/JSONContent.d.ts +0 -11
- package/dist/types/JSONContent.d.ts.map +0 -1
- package/dist/types/JSONContent.js +0 -1
|
@@ -62,7 +62,7 @@ export declare const account: {
|
|
|
62
62
|
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
63
63
|
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
64
64
|
};
|
|
65
|
-
readonly '~standard': v.
|
|
65
|
+
readonly '~standard': v.StandardSchemaProps<{
|
|
66
66
|
color?: string | undefined;
|
|
67
67
|
firstName?: string | null | undefined;
|
|
68
68
|
lastName?: string | null | undefined;
|
package/dist/clients/draft.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
import { JSONContent } from '../types';
|
|
3
2
|
export declare const draft: {
|
|
4
3
|
model: v.ObjectSchema<{
|
|
5
4
|
readonly body: v.ObjectSchema<{
|
|
6
5
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
7
6
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
8
|
-
readonly content: v.
|
|
7
|
+
readonly content: v.StringSchema<undefined>;
|
|
9
8
|
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
10
9
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
11
10
|
}, undefined>;
|
|
@@ -24,7 +23,7 @@ export declare const draft: {
|
|
|
24
23
|
readonly body: v.ObjectSchema<{
|
|
25
24
|
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
26
25
|
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
27
|
-
readonly content: v.
|
|
26
|
+
readonly content: v.StringSchema<undefined>;
|
|
28
27
|
readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
29
28
|
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
30
29
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../src/clients/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAkB5B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBK,CAAA"}
|
package/dist/clients/draft.js
CHANGED
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { marcoSchemas } from '../schemas';
|
|
3
|
-
const jsonContentSchema = v.lazy(() => v.object({
|
|
4
|
-
attrs: v.optional(v.record(v.string(), v.unknown())),
|
|
5
|
-
content: v.optional(v.array(jsonContentSchema)),
|
|
6
|
-
marks: v.optional(v.array(v.object({
|
|
7
|
-
attrs: v.optional(v.record(v.string(), v.unknown())),
|
|
8
|
-
type: v.string(),
|
|
9
|
-
}))),
|
|
10
|
-
text: v.optional(v.string()),
|
|
11
|
-
type: v.optional(v.string()),
|
|
12
|
-
}));
|
|
13
3
|
const draftSchema = v.object({
|
|
14
4
|
body: v.object({
|
|
15
5
|
bcc: v.array(marcoSchemas.string.email()),
|
|
16
6
|
cc: v.array(marcoSchemas.string.email()),
|
|
17
|
-
content:
|
|
7
|
+
content: v.string(),
|
|
18
8
|
subject: marcoSchemas.string.required(),
|
|
19
9
|
to: v.array(marcoSchemas.string.email()),
|
|
20
10
|
}),
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const marcoClients: {
|
|
|
63
63
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
64
64
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
65
65
|
};
|
|
66
|
-
readonly '~standard': import("valibot").
|
|
66
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
67
67
|
color?: string | undefined;
|
|
68
68
|
firstName?: string | null | undefined;
|
|
69
69
|
lastName?: string | null | undefined;
|
|
@@ -116,7 +116,7 @@ export declare const marcoClients: {
|
|
|
116
116
|
readonly body: import("valibot").ObjectSchema<{
|
|
117
117
|
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>;
|
|
118
118
|
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>;
|
|
119
|
-
readonly content: import("valibot").
|
|
119
|
+
readonly content: import("valibot").StringSchema<undefined>;
|
|
120
120
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
121
121
|
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>;
|
|
122
122
|
}, undefined>;
|
|
@@ -135,7 +135,7 @@ export declare const marcoClients: {
|
|
|
135
135
|
readonly body: import("valibot").ObjectSchema<{
|
|
136
136
|
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>;
|
|
137
137
|
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>;
|
|
138
|
-
readonly content: import("valibot").
|
|
138
|
+
readonly content: import("valibot").StringSchema<undefined>;
|
|
139
139
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
140
140
|
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>;
|
|
141
141
|
}, undefined>;
|
|
@@ -218,7 +218,7 @@ export declare const marcoClients: {
|
|
|
218
218
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
219
219
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
220
220
|
};
|
|
221
|
-
readonly '~standard': import("valibot").
|
|
221
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
222
222
|
firstName?: string | null | undefined;
|
|
223
223
|
lastName?: string | null | undefined;
|
|
224
224
|
}, {
|
package/dist/clients/user.d.ts
CHANGED
|
@@ -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.StandardSchemaProps<{
|
|
23
23
|
firstName?: string | null | undefined;
|
|
24
24
|
lastName?: string | null | undefined;
|
|
25
25
|
}, {
|
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,
|
|
7
|
+
export { MarcoWSEvent, MarcoClient, MarcoWSSyncPoke, EndpointConfig, EndpointError, 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,
|
|
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"}
|
|
@@ -3,7 +3,7 @@ import { EndpointConfig } from '../../types';
|
|
|
3
3
|
export declare const endpoints: {
|
|
4
4
|
private: {
|
|
5
5
|
emailMessage: {
|
|
6
|
-
getHTML: EndpointConfig<"/v1/pv/message/:messageId/html", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
|
+
getHTML: EndpointConfig<"/v1/pv/message/:messageId/html", GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | 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 | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
24
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | 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<{
|
|
@@ -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 | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
74
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | 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<{
|
|
@@ -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 | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
104
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | 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,7 +123,7 @@ 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:
|
|
126
|
+
readonly content: import("valibot").StringSchema<undefined>;
|
|
127
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>;
|
|
128
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>;
|
|
129
129
|
}, undefined>;
|
|
@@ -142,7 +142,7 @@ export declare const endpoints: {
|
|
|
142
142
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
143
143
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
144
144
|
}, undefined>, undefined>;
|
|
145
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
145
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
146
146
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
147
147
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
148
148
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -205,7 +205,7 @@ export declare const endpoints: {
|
|
|
205
205
|
user: EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
206
206
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
207
207
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
208
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
208
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
209
209
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
210
210
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
211
211
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -280,7 +280,7 @@ export declare const endpoints: {
|
|
|
280
280
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
281
281
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
282
282
|
};
|
|
283
|
-
readonly '~standard': import("valibot").
|
|
283
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
284
284
|
color?: string | undefined;
|
|
285
285
|
firstName?: string | null | undefined;
|
|
286
286
|
lastName?: string | null | undefined;
|
|
@@ -313,7 +313,7 @@ export declare const endpoints: {
|
|
|
313
313
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
314
314
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
315
315
|
}, undefined>], undefined>, undefined>;
|
|
316
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
316
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
317
317
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
318
318
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
319
319
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -336,7 +336,7 @@ export declare const endpoints: {
|
|
|
336
336
|
readonly body: import("valibot").ObjectSchema<{
|
|
337
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>;
|
|
338
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>;
|
|
339
|
-
readonly content:
|
|
339
|
+
readonly content: import("valibot").StringSchema<undefined>;
|
|
340
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>;
|
|
341
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>;
|
|
342
342
|
}, undefined>;
|
|
@@ -348,7 +348,7 @@ export declare const endpoints: {
|
|
|
348
348
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
349
349
|
readonly name: import("valibot").LiteralSchema<"upsert", undefined>;
|
|
350
350
|
}, undefined>], undefined>, undefined>;
|
|
351
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
351
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
352
352
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
353
353
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
354
354
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -369,7 +369,7 @@ export declare const endpoints: {
|
|
|
369
369
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
370
370
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
371
371
|
}, undefined>], undefined>, undefined>;
|
|
372
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
372
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
373
373
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
374
374
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
375
375
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -394,7 +394,7 @@ export declare const endpoints: {
|
|
|
394
394
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
395
395
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
396
396
|
};
|
|
397
|
-
readonly '~standard': import("valibot").
|
|
397
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
398
398
|
firstName?: string | null | undefined;
|
|
399
399
|
lastName?: string | null | undefined;
|
|
400
400
|
}, {
|
|
@@ -422,7 +422,7 @@ export declare const endpoints: {
|
|
|
422
422
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
423
423
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
424
424
|
}, undefined>], undefined>, undefined>;
|
|
425
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
425
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
426
426
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
427
427
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
428
428
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -434,7 +434,7 @@ export declare const endpoints: {
|
|
|
434
434
|
};
|
|
435
435
|
};
|
|
436
436
|
user: {
|
|
437
|
-
deleteUser: EndpointConfig<"/v1/pv/user", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
437
|
+
deleteUser: EndpointConfig<"/v1/pv/user", GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
438
438
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
439
439
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
440
440
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -446,7 +446,7 @@ export declare const endpoints: {
|
|
|
446
446
|
auth: {
|
|
447
447
|
refreshAuth: EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
448
448
|
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
449
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
449
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
450
450
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
451
451
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
452
452
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -474,7 +474,7 @@ export declare const endpoints: {
|
|
|
474
474
|
}, undefined>], undefined>>;
|
|
475
475
|
sendAuthCode: EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
476
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>;
|
|
477
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
477
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
478
478
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
479
479
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
480
480
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -486,7 +486,7 @@ export declare const endpoints: {
|
|
|
486
486
|
verifyAuthCode: EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
487
487
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
488
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>;
|
|
489
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
489
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
490
490
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
491
491
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
492
492
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -522,7 +522,7 @@ export declare const endpoints: {
|
|
|
522
522
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
523
523
|
}, undefined>], undefined>>;
|
|
524
524
|
};
|
|
525
|
-
healthcheck: EndpointConfig<"/v1/pb/healthcheck", GenericSchema | undefined, GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
525
|
+
healthcheck: EndpointConfig<"/v1/pb/healthcheck", GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").ObjectSchema<{
|
|
526
526
|
readonly data: import("valibot").ObjectSchema<{
|
|
527
527
|
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
528
528
|
}, undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getEmailMessageHTML: import("../../../..").EndpointConfig<"/v1/pv/message/:messageId/html", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
2
|
+
export declare const getEmailMessageHTML: import("../../../..").EndpointConfig<"/v1/pv/message/:messageId/html", v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
3
3
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
4
4
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
5
5
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const emailMessage: {
|
|
2
|
-
getHTML: import("../../../..").EndpointConfig<"/v1/pv/message/:messageId/html", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
2
|
+
getHTML: import("../../../..").EndpointConfig<"/v1/pv/message/:messageId/html", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
3
3
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
4
4
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
5
5
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const privateGroup: {
|
|
2
2
|
emailMessage: {
|
|
3
|
-
getHTML: import("../../..").EndpointConfig<"/v1/pv/message/:messageId/html", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
3
|
+
getHTML: import("../../..").EndpointConfig<"/v1/pv/message/:messageId/html", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
4
4
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
5
5
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
6
6
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -18,7 +18,7 @@ export declare const privateGroup: {
|
|
|
18
18
|
account: import("../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
|
19
19
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
20
20
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
21
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
21
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
22
22
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
23
23
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
24
24
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -68,7 +68,7 @@ export declare const privateGroup: {
|
|
|
68
68
|
contact: import("../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
69
69
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
70
70
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
71
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
71
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
72
72
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
73
73
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
74
74
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -98,7 +98,7 @@ export declare const privateGroup: {
|
|
|
98
98
|
draft: import("../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
99
99
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
100
100
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
101
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
101
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
102
102
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
103
103
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
104
104
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -120,7 +120,7 @@ export declare const privateGroup: {
|
|
|
120
120
|
readonly body: import("valibot").ObjectSchema<{
|
|
121
121
|
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>;
|
|
122
122
|
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>;
|
|
123
|
-
readonly content: import("valibot").
|
|
123
|
+
readonly content: import("valibot").StringSchema<undefined>;
|
|
124
124
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
125
125
|
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>;
|
|
126
126
|
}, undefined>;
|
|
@@ -139,7 +139,7 @@ export declare const privateGroup: {
|
|
|
139
139
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
140
140
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
141
141
|
}, undefined>, undefined>;
|
|
142
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
142
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
143
143
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
144
144
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
145
145
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -202,7 +202,7 @@ export declare const privateGroup: {
|
|
|
202
202
|
user: import("../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
203
203
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
204
204
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
205
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
205
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
206
206
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
207
207
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
208
208
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -277,7 +277,7 @@ export declare const privateGroup: {
|
|
|
277
277
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
278
278
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
279
279
|
};
|
|
280
|
-
readonly '~standard': import("valibot").
|
|
280
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
281
281
|
color?: string | undefined;
|
|
282
282
|
firstName?: string | null | undefined;
|
|
283
283
|
lastName?: string | null | undefined;
|
|
@@ -310,7 +310,7 @@ export declare const privateGroup: {
|
|
|
310
310
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
311
311
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
312
312
|
}, undefined>], undefined>, undefined>;
|
|
313
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
313
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
314
314
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
315
315
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
316
316
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -333,7 +333,7 @@ export declare const privateGroup: {
|
|
|
333
333
|
readonly body: import("valibot").ObjectSchema<{
|
|
334
334
|
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>;
|
|
335
335
|
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>;
|
|
336
|
-
readonly content: import("valibot").
|
|
336
|
+
readonly content: import("valibot").StringSchema<undefined>;
|
|
337
337
|
readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
338
338
|
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>;
|
|
339
339
|
}, undefined>;
|
|
@@ -345,7 +345,7 @@ export declare const privateGroup: {
|
|
|
345
345
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
346
346
|
readonly name: import("valibot").LiteralSchema<"upsert", undefined>;
|
|
347
347
|
}, undefined>], undefined>, undefined>;
|
|
348
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
348
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
349
349
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
350
350
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
351
351
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -366,7 +366,7 @@ export declare const privateGroup: {
|
|
|
366
366
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
367
367
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
368
368
|
}, undefined>], undefined>, undefined>;
|
|
369
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
369
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
370
370
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
371
371
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
372
372
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -391,7 +391,7 @@ export declare const privateGroup: {
|
|
|
391
391
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
392
392
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
393
393
|
};
|
|
394
|
-
readonly '~standard': import("valibot").
|
|
394
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
395
395
|
firstName?: string | null | undefined;
|
|
396
396
|
lastName?: string | null | undefined;
|
|
397
397
|
}, {
|
|
@@ -419,7 +419,7 @@ export declare const privateGroup: {
|
|
|
419
419
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
420
420
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
421
421
|
}, undefined>], undefined>, undefined>;
|
|
422
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
422
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
423
423
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
424
424
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
425
425
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -431,7 +431,7 @@ export declare const privateGroup: {
|
|
|
431
431
|
};
|
|
432
432
|
};
|
|
433
433
|
user: {
|
|
434
|
-
deleteUser: import("../../..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
434
|
+
deleteUser: import("../../..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
435
435
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
436
436
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
437
437
|
}, undefined>, import("valibot").ObjectSchema<{
|