@marcoappio/marco-config 2.0.166 → 2.0.168
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 -0
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +5 -0
- package/dist/clients/index.d.ts +4 -2
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/user.d.ts +1 -1
- package/dist/sdk/endpoints/index.d.ts +19 -17
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts +1 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +15 -13
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +13 -11
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- 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 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +6 -5
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- 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 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +7 -6
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- 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 -17
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
@@ -11,6 +11,7 @@ export declare const draft: {
|
|
|
11
11
|
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
12
12
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
13
13
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
14
|
+
readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SENDING", undefined>, v.LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
14
15
|
}, undefined>;
|
|
15
16
|
mutators: {
|
|
16
17
|
delete: {
|
|
@@ -30,6 +31,7 @@ export declare const draft: {
|
|
|
30
31
|
readonly emailAccountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
31
32
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
32
33
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
34
|
+
readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SENDING", undefined>, v.LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
33
35
|
}, undefined>;
|
|
34
36
|
};
|
|
35
37
|
};
|
|
@@ -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;AAuB5B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBK,CAAA"}
|
package/dist/clients/draft.js
CHANGED
|
@@ -11,6 +11,11 @@ const draftSchema = v.object({
|
|
|
11
11
|
emailAccountId: marcoSchemas.string.uuid(),
|
|
12
12
|
id: marcoSchemas.string.uuid(),
|
|
13
13
|
referencedMessageId: marcoSchemas.string.nullable(),
|
|
14
|
+
status: v.union([
|
|
15
|
+
v.literal('DRAFT'),
|
|
16
|
+
v.literal('SENDING'),
|
|
17
|
+
v.literal('SENDING_FAILED'),
|
|
18
|
+
]),
|
|
14
19
|
});
|
|
15
20
|
export const draft = {
|
|
16
21
|
model: draftSchema,
|
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;
|
|
@@ -123,6 +123,7 @@ export declare const marcoClients: {
|
|
|
123
123
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
124
124
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
125
125
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
126
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
126
127
|
}, undefined>;
|
|
127
128
|
mutators: {
|
|
128
129
|
delete: {
|
|
@@ -142,6 +143,7 @@ export declare const marcoClients: {
|
|
|
142
143
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
143
144
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
144
145
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
146
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
145
147
|
}, undefined>;
|
|
146
148
|
};
|
|
147
149
|
};
|
|
@@ -218,7 +220,7 @@ export declare const marcoClients: {
|
|
|
218
220
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
219
221
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
220
222
|
};
|
|
221
|
-
readonly '~standard': import("valibot").
|
|
223
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
222
224
|
firstName?: string | null | undefined;
|
|
223
225
|
lastName?: string | null | undefined;
|
|
224
226
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMc,CAAA"}
|
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
|
}, {
|
|
@@ -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<{
|
|
@@ -130,6 +130,7 @@ export declare const endpoints: {
|
|
|
130
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
131
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
132
132
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
133
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
133
134
|
}, undefined>;
|
|
134
135
|
}, undefined>], undefined>, undefined>;
|
|
135
136
|
}, undefined>;
|
|
@@ -142,7 +143,7 @@ export declare const endpoints: {
|
|
|
142
143
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
143
144
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
144
145
|
}, undefined>, undefined>;
|
|
145
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
146
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
146
147
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
147
148
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
148
149
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -205,7 +206,7 @@ export declare const endpoints: {
|
|
|
205
206
|
user: EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
206
207
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
207
208
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
208
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
209
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
209
210
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
210
211
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
211
212
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -280,7 +281,7 @@ export declare const endpoints: {
|
|
|
280
281
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
281
282
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
282
283
|
};
|
|
283
|
-
readonly '~standard': import("valibot").
|
|
284
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
284
285
|
color?: string | undefined;
|
|
285
286
|
firstName?: string | null | undefined;
|
|
286
287
|
lastName?: string | null | undefined;
|
|
@@ -313,7 +314,7 @@ export declare const endpoints: {
|
|
|
313
314
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
314
315
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
315
316
|
}, undefined>], undefined>, undefined>;
|
|
316
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
317
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
317
318
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
318
319
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
319
320
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -343,12 +344,13 @@ export declare const endpoints: {
|
|
|
343
344
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
344
345
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
345
346
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
347
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
346
348
|
}, undefined>;
|
|
347
349
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
348
350
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
349
351
|
readonly name: import("valibot").LiteralSchema<"upsert", undefined>;
|
|
350
352
|
}, undefined>], undefined>, undefined>;
|
|
351
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
353
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
352
354
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
353
355
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
354
356
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -369,7 +371,7 @@ export declare const endpoints: {
|
|
|
369
371
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
370
372
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
371
373
|
}, undefined>], undefined>, undefined>;
|
|
372
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
374
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
373
375
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
374
376
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
375
377
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -394,7 +396,7 @@ export declare const endpoints: {
|
|
|
394
396
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
395
397
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
396
398
|
};
|
|
397
|
-
readonly '~standard': import("valibot").
|
|
399
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
398
400
|
firstName?: string | null | undefined;
|
|
399
401
|
lastName?: string | null | undefined;
|
|
400
402
|
}, {
|
|
@@ -422,7 +424,7 @@ export declare const endpoints: {
|
|
|
422
424
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
423
425
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
424
426
|
}, undefined>], undefined>, undefined>;
|
|
425
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
427
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
426
428
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
427
429
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
428
430
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -434,7 +436,7 @@ export declare const endpoints: {
|
|
|
434
436
|
};
|
|
435
437
|
};
|
|
436
438
|
user: {
|
|
437
|
-
deleteUser: EndpointConfig<"/v1/pv/user", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
439
|
+
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
440
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
439
441
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
440
442
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -446,7 +448,7 @@ export declare const endpoints: {
|
|
|
446
448
|
auth: {
|
|
447
449
|
refreshAuth: EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
448
450
|
readonly refreshToken: import("valibot").StringSchema<undefined>;
|
|
449
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
451
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
450
452
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
451
453
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
452
454
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -474,7 +476,7 @@ export declare const endpoints: {
|
|
|
474
476
|
}, undefined>], undefined>>;
|
|
475
477
|
sendAuthCode: EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
476
478
|
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<{
|
|
479
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
478
480
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
479
481
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
480
482
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -486,7 +488,7 @@ export declare const endpoints: {
|
|
|
486
488
|
verifyAuthCode: EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
487
489
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
488
490
|
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<{
|
|
491
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
490
492
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
491
493
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
492
494
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -522,7 +524,7 @@ export declare const endpoints: {
|
|
|
522
524
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
523
525
|
}, undefined>], undefined>>;
|
|
524
526
|
};
|
|
525
|
-
healthcheck: EndpointConfig<"/v1/pb/healthcheck", GenericSchema | undefined, GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
527
|
+
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
528
|
readonly data: import("valibot").ObjectSchema<{
|
|
527
529
|
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
528
530
|
}, 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"}
|
|
@@ -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<{
|
|
@@ -127,6 +127,7 @@ export declare const privateGroup: {
|
|
|
127
127
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
128
128
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
129
129
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
130
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
130
131
|
}, undefined>;
|
|
131
132
|
}, undefined>], undefined>, undefined>;
|
|
132
133
|
}, undefined>;
|
|
@@ -139,7 +140,7 @@ export declare const privateGroup: {
|
|
|
139
140
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
140
141
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
141
142
|
}, undefined>, undefined>;
|
|
142
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
143
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
143
144
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
144
145
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
145
146
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -202,7 +203,7 @@ export declare const privateGroup: {
|
|
|
202
203
|
user: import("../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
203
204
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
204
205
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
205
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
206
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
206
207
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
207
208
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
208
209
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -277,7 +278,7 @@ export declare const privateGroup: {
|
|
|
277
278
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
278
279
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
279
280
|
};
|
|
280
|
-
readonly '~standard': import("valibot").
|
|
281
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
281
282
|
color?: string | undefined;
|
|
282
283
|
firstName?: string | null | undefined;
|
|
283
284
|
lastName?: string | null | undefined;
|
|
@@ -310,7 +311,7 @@ export declare const privateGroup: {
|
|
|
310
311
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
311
312
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
312
313
|
}, undefined>], undefined>, undefined>;
|
|
313
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
314
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
314
315
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
315
316
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
316
317
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -340,12 +341,13 @@ export declare const privateGroup: {
|
|
|
340
341
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
341
342
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
342
343
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
344
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
343
345
|
}, undefined>;
|
|
344
346
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
345
347
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
346
348
|
readonly name: import("valibot").LiteralSchema<"upsert", undefined>;
|
|
347
349
|
}, undefined>], undefined>, undefined>;
|
|
348
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
350
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
349
351
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
350
352
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
351
353
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -366,7 +368,7 @@ export declare const privateGroup: {
|
|
|
366
368
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
367
369
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
368
370
|
}, undefined>], undefined>, undefined>;
|
|
369
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
371
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
370
372
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
371
373
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
372
374
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -391,7 +393,7 @@ export declare const privateGroup: {
|
|
|
391
393
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
392
394
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
393
395
|
};
|
|
394
|
-
readonly '~standard': import("valibot").
|
|
396
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
395
397
|
firstName?: string | null | undefined;
|
|
396
398
|
lastName?: string | null | undefined;
|
|
397
399
|
}, {
|
|
@@ -419,7 +421,7 @@ export declare const privateGroup: {
|
|
|
419
421
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
420
422
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
421
423
|
}, undefined>], undefined>, undefined>;
|
|
422
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
424
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
423
425
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
424
426
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
425
427
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -431,7 +433,7 @@ export declare const privateGroup: {
|
|
|
431
433
|
};
|
|
432
434
|
};
|
|
433
435
|
user: {
|
|
434
|
-
deleteUser: import("../../..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
436
|
+
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
437
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
436
438
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
437
439
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
|
|
@@ -3,7 +3,7 @@ export declare const sync: {
|
|
|
3
3
|
account: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/account", import("valibot").ObjectSchema<{
|
|
4
4
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
5
5
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
6
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
7
7
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
8
8
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
9
9
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -53,7 +53,7 @@ export declare const sync: {
|
|
|
53
53
|
contact: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/contact", import("valibot").ObjectSchema<{
|
|
54
54
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
55
55
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
56
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
56
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
57
57
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
58
58
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
59
59
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -83,7 +83,7 @@ export declare const sync: {
|
|
|
83
83
|
draft: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/draft", import("valibot").ObjectSchema<{
|
|
84
84
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
85
85
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
86
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
86
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
87
87
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
88
88
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
89
89
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -112,6 +112,7 @@ export declare const sync: {
|
|
|
112
112
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
113
113
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
114
114
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
115
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
115
116
|
}, undefined>;
|
|
116
117
|
}, undefined>], undefined>, undefined>;
|
|
117
118
|
}, undefined>;
|
|
@@ -124,7 +125,7 @@ export declare const sync: {
|
|
|
124
125
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
125
126
|
readonly version: import("valibot").NumberSchema<undefined>;
|
|
126
127
|
}, undefined>, undefined>;
|
|
127
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
128
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
128
129
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
129
130
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
130
131
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -187,7 +188,7 @@ export declare const sync: {
|
|
|
187
188
|
user: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
|
|
188
189
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
189
190
|
readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
190
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
191
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
191
192
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
192
193
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
193
194
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -262,7 +263,7 @@ export declare const sync: {
|
|
|
262
263
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
263
264
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
264
265
|
};
|
|
265
|
-
readonly '~standard': import("valibot").
|
|
266
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
266
267
|
color?: string | undefined;
|
|
267
268
|
firstName?: string | null | undefined;
|
|
268
269
|
lastName?: string | null | undefined;
|
|
@@ -295,7 +296,7 @@ export declare const sync: {
|
|
|
295
296
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
296
297
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
297
298
|
}, undefined>], undefined>, undefined>;
|
|
298
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
299
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
299
300
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
300
301
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
301
302
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -325,12 +326,13 @@ export declare const sync: {
|
|
|
325
326
|
readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
326
327
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
327
328
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
329
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
328
330
|
}, undefined>;
|
|
329
331
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
330
332
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
331
333
|
readonly name: import("valibot").LiteralSchema<"upsert", undefined>;
|
|
332
334
|
}, undefined>], undefined>, undefined>;
|
|
333
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
335
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
334
336
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
335
337
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
336
338
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -351,7 +353,7 @@ export declare const sync: {
|
|
|
351
353
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
352
354
|
readonly name: import("valibot").LiteralSchema<"setMessageSeen", undefined>;
|
|
353
355
|
}, undefined>], undefined>, undefined>;
|
|
354
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
356
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
355
357
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
356
358
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
357
359
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -376,7 +378,7 @@ export declare const sync: {
|
|
|
376
378
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
377
379
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
378
380
|
};
|
|
379
|
-
readonly '~standard': import("valibot").
|
|
381
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
380
382
|
firstName?: string | null | undefined;
|
|
381
383
|
lastName?: string | null | undefined;
|
|
382
384
|
}, {
|
|
@@ -404,7 +406,7 @@ export declare const sync: {
|
|
|
404
406
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
405
407
|
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
406
408
|
}, undefined>], undefined>, undefined>;
|
|
407
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
409
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
408
410
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
409
411
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
410
412
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -2,7 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/account", v.ObjectSchema<{
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
5
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
6
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
8
8
|
}, undefined>, v.ObjectSchema<{
|