@marcoappio/marco-config 2.0.153 → 2.0.155
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 +48 -0
- package/dist/clients/account.d.ts.map +1 -1
- package/dist/clients/account.js +12 -0
- package/dist/clients/index.d.ts +99 -0
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/index.js +2 -0
- package/dist/clients/user.d.ts +53 -0
- package/dist/clients/user.d.ts.map +1 -0
- package/dist/clients/user.js +24 -0
- package/dist/sdk/endpoints/index.d.ts +13 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +13 -0
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +13 -0
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +5 -0
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +5 -0
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +8 -0
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.js +6 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +8 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +13 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -19,6 +19,11 @@ export declare const account: {
|
|
|
19
19
|
readonly complete: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
20
20
|
readonly total: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
21
21
|
}, undefined>;
|
|
22
|
+
readonly settings: v.ObjectSchema<{
|
|
23
|
+
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
24
|
+
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
25
|
+
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
26
|
+
}, undefined>;
|
|
22
27
|
}, undefined>;
|
|
23
28
|
mutators: {
|
|
24
29
|
add: {
|
|
@@ -43,6 +48,49 @@ export declare const account: {
|
|
|
43
48
|
}, undefined>;
|
|
44
49
|
}, undefined>;
|
|
45
50
|
};
|
|
51
|
+
setSettings: {
|
|
52
|
+
delta: v.ObjectSchema<{
|
|
53
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
54
|
+
readonly settings: Omit<v.ObjectSchema<{
|
|
55
|
+
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
56
|
+
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
57
|
+
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
58
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
59
|
+
readonly entries: {
|
|
60
|
+
readonly color: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
61
|
+
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
62
|
+
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
63
|
+
};
|
|
64
|
+
readonly '~standard': v.StandardSchemaProps<{
|
|
65
|
+
color?: string | undefined;
|
|
66
|
+
firstName?: string | null | undefined;
|
|
67
|
+
lastName?: string | null | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
color?: string | undefined;
|
|
70
|
+
firstName?: string | null | undefined;
|
|
71
|
+
lastName?: string | null | undefined;
|
|
72
|
+
}>;
|
|
73
|
+
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
74
|
+
color?: string | undefined;
|
|
75
|
+
firstName?: string | null | undefined;
|
|
76
|
+
lastName?: string | null | undefined;
|
|
77
|
+
}, v.StringIssue | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.NonOptionalIssue>;
|
|
78
|
+
readonly '~types'?: {
|
|
79
|
+
readonly input: {
|
|
80
|
+
color?: string | undefined;
|
|
81
|
+
firstName?: string | null | undefined;
|
|
82
|
+
lastName?: string | null | undefined;
|
|
83
|
+
};
|
|
84
|
+
readonly output: {
|
|
85
|
+
color?: string | undefined;
|
|
86
|
+
firstName?: string | null | undefined;
|
|
87
|
+
lastName?: string | null | undefined;
|
|
88
|
+
};
|
|
89
|
+
readonly issue: v.StringIssue | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.NonOptionalIssue;
|
|
90
|
+
} | undefined;
|
|
91
|
+
};
|
|
92
|
+
}, undefined>;
|
|
93
|
+
};
|
|
46
94
|
};
|
|
47
95
|
name: "account";
|
|
48
96
|
pullURL: "/v1/pv/sync/pull/account";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/clients/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/clients/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAkB5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDG,CAAA"}
|
package/dist/clients/account.js
CHANGED
|
@@ -6,6 +6,11 @@ const imapPasswordConfig = v.object({
|
|
|
6
6
|
port: marcoSchemas.number.minMax(1, 65535),
|
|
7
7
|
status: marcoSchemas.emailAccountConnectionState(),
|
|
8
8
|
});
|
|
9
|
+
const accountSettings = v.object({
|
|
10
|
+
color: marcoSchemas.string.required(),
|
|
11
|
+
firstName: marcoSchemas.string.nullable(),
|
|
12
|
+
lastName: marcoSchemas.string.nullable(),
|
|
13
|
+
});
|
|
9
14
|
export const account = {
|
|
10
15
|
model: v.object({
|
|
11
16
|
emailAddress: marcoSchemas.string.email(),
|
|
@@ -21,6 +26,7 @@ export const account = {
|
|
|
21
26
|
complete: v.pipe(v.number(), v.minValue(0)),
|
|
22
27
|
total: v.pipe(v.number(), v.minValue(0)),
|
|
23
28
|
}),
|
|
29
|
+
settings: accountSettings,
|
|
24
30
|
}),
|
|
25
31
|
mutators: {
|
|
26
32
|
add: {
|
|
@@ -43,6 +49,12 @@ export const account = {
|
|
|
43
49
|
}),
|
|
44
50
|
}),
|
|
45
51
|
},
|
|
52
|
+
setSettings: {
|
|
53
|
+
delta: v.object({
|
|
54
|
+
id: marcoSchemas.string.required(),
|
|
55
|
+
settings: v.partial(accountSettings),
|
|
56
|
+
}),
|
|
57
|
+
},
|
|
46
58
|
},
|
|
47
59
|
name: 'account',
|
|
48
60
|
pullURL: '/v1/pv/sync/pull/account',
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -20,6 +20,11 @@ export declare const marcoClients: {
|
|
|
20
20
|
readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
21
21
|
readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
22
22
|
}, undefined>;
|
|
23
|
+
readonly settings: import("valibot").ObjectSchema<{
|
|
24
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
25
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
26
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
27
|
+
}, undefined>;
|
|
23
28
|
}, undefined>;
|
|
24
29
|
mutators: {
|
|
25
30
|
add: {
|
|
@@ -44,6 +49,49 @@ export declare const marcoClients: {
|
|
|
44
49
|
}, undefined>;
|
|
45
50
|
}, undefined>;
|
|
46
51
|
};
|
|
52
|
+
setSettings: {
|
|
53
|
+
delta: import("valibot").ObjectSchema<{
|
|
54
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
55
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
56
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
57
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
58
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
59
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
60
|
+
readonly entries: {
|
|
61
|
+
readonly color: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
62
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
63
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
64
|
+
};
|
|
65
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
66
|
+
color?: string | undefined;
|
|
67
|
+
firstName?: string | null | undefined;
|
|
68
|
+
lastName?: string | null | undefined;
|
|
69
|
+
}, {
|
|
70
|
+
color?: string | undefined;
|
|
71
|
+
firstName?: string | null | undefined;
|
|
72
|
+
lastName?: string | null | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
75
|
+
color?: string | undefined;
|
|
76
|
+
firstName?: string | null | undefined;
|
|
77
|
+
lastName?: string | null | undefined;
|
|
78
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
|
|
79
|
+
readonly '~types'?: {
|
|
80
|
+
readonly input: {
|
|
81
|
+
color?: string | undefined;
|
|
82
|
+
firstName?: string | null | undefined;
|
|
83
|
+
lastName?: string | null | undefined;
|
|
84
|
+
};
|
|
85
|
+
readonly output: {
|
|
86
|
+
color?: string | undefined;
|
|
87
|
+
firstName?: string | null | undefined;
|
|
88
|
+
lastName?: string | null | undefined;
|
|
89
|
+
};
|
|
90
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
|
|
91
|
+
} | undefined;
|
|
92
|
+
};
|
|
93
|
+
}, undefined>;
|
|
94
|
+
};
|
|
47
95
|
};
|
|
48
96
|
name: "account";
|
|
49
97
|
pullURL: "/v1/pv/sync/pull/account";
|
|
@@ -110,5 +158,56 @@ export declare const marcoClients: {
|
|
|
110
158
|
pushURL: "/v1/pv/sync/push/thread";
|
|
111
159
|
schemaVersion: "v1";
|
|
112
160
|
};
|
|
161
|
+
user: {
|
|
162
|
+
model: import("valibot").ObjectSchema<{
|
|
163
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
164
|
+
readonly settings: import("valibot").ObjectSchema<{
|
|
165
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
166
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
167
|
+
}, undefined>;
|
|
168
|
+
}, undefined>;
|
|
169
|
+
mutators: {
|
|
170
|
+
setSettings: {
|
|
171
|
+
delta: import("valibot").ObjectSchema<{
|
|
172
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
173
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
174
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
175
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
176
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
177
|
+
readonly entries: {
|
|
178
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
179
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
180
|
+
};
|
|
181
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
182
|
+
firstName?: string | null | undefined;
|
|
183
|
+
lastName?: string | null | undefined;
|
|
184
|
+
}, {
|
|
185
|
+
firstName?: string | null | undefined;
|
|
186
|
+
lastName?: string | null | undefined;
|
|
187
|
+
}>;
|
|
188
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
189
|
+
firstName?: string | null | undefined;
|
|
190
|
+
lastName?: string | null | undefined;
|
|
191
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue>;
|
|
192
|
+
readonly '~types'?: {
|
|
193
|
+
readonly input: {
|
|
194
|
+
firstName?: string | null | undefined;
|
|
195
|
+
lastName?: string | null | undefined;
|
|
196
|
+
};
|
|
197
|
+
readonly output: {
|
|
198
|
+
firstName?: string | null | undefined;
|
|
199
|
+
lastName?: string | null | undefined;
|
|
200
|
+
};
|
|
201
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue;
|
|
202
|
+
} | undefined;
|
|
203
|
+
};
|
|
204
|
+
}, undefined>;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
name: "user";
|
|
208
|
+
pullURL: "/v1/pv/sync/pull/user";
|
|
209
|
+
pushURL: "/v1/pv/sync/push/user";
|
|
210
|
+
schemaVersion: "v1";
|
|
211
|
+
};
|
|
113
212
|
};
|
|
114
213
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKc,CAAA"}
|
package/dist/clients/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { account } from './account';
|
|
2
2
|
import { contact } from './contact';
|
|
3
3
|
import { thread } from './thread';
|
|
4
|
+
import { user } from './user';
|
|
4
5
|
export { marcoClientsUtils } from './utils';
|
|
5
6
|
export const marcoClients = {
|
|
6
7
|
account,
|
|
7
8
|
contact,
|
|
8
9
|
thread,
|
|
10
|
+
user,
|
|
9
11
|
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const user: {
|
|
3
|
+
model: v.ObjectSchema<{
|
|
4
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
5
|
+
readonly settings: v.ObjectSchema<{
|
|
6
|
+
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
7
|
+
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
8
|
+
}, undefined>;
|
|
9
|
+
}, undefined>;
|
|
10
|
+
mutators: {
|
|
11
|
+
setSettings: {
|
|
12
|
+
delta: v.ObjectSchema<{
|
|
13
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
14
|
+
readonly settings: Omit<v.ObjectSchema<{
|
|
15
|
+
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
16
|
+
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
17
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
18
|
+
readonly entries: {
|
|
19
|
+
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
20
|
+
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
21
|
+
};
|
|
22
|
+
readonly '~standard': v.StandardSchemaProps<{
|
|
23
|
+
firstName?: string | null | undefined;
|
|
24
|
+
lastName?: string | null | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
firstName?: string | null | undefined;
|
|
27
|
+
lastName?: string | null | undefined;
|
|
28
|
+
}>;
|
|
29
|
+
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
30
|
+
firstName?: string | null | undefined;
|
|
31
|
+
lastName?: string | null | undefined;
|
|
32
|
+
}, v.StringIssue | v.MaxLengthIssue<string, 255> | v.ObjectIssue>;
|
|
33
|
+
readonly '~types'?: {
|
|
34
|
+
readonly input: {
|
|
35
|
+
firstName?: string | null | undefined;
|
|
36
|
+
lastName?: string | null | undefined;
|
|
37
|
+
};
|
|
38
|
+
readonly output: {
|
|
39
|
+
firstName?: string | null | undefined;
|
|
40
|
+
lastName?: string | null | undefined;
|
|
41
|
+
};
|
|
42
|
+
readonly issue: v.StringIssue | v.MaxLengthIssue<string, 255> | v.ObjectIssue;
|
|
43
|
+
} | undefined;
|
|
44
|
+
};
|
|
45
|
+
}, undefined>;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
name: "user";
|
|
49
|
+
pullURL: "/v1/pv/sync/pull/user";
|
|
50
|
+
pushURL: "/v1/pv/sync/push/user";
|
|
51
|
+
schemaVersion: "v1";
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=user.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/clients/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBM,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { marcoSchemas } from '../schemas';
|
|
3
|
+
const userSettings = v.object({
|
|
4
|
+
firstName: marcoSchemas.string.nullable(),
|
|
5
|
+
lastName: marcoSchemas.string.nullable(),
|
|
6
|
+
});
|
|
7
|
+
export const user = {
|
|
8
|
+
model: v.object({
|
|
9
|
+
id: marcoSchemas.string.required(),
|
|
10
|
+
settings: userSettings,
|
|
11
|
+
}),
|
|
12
|
+
mutators: {
|
|
13
|
+
setSettings: {
|
|
14
|
+
delta: v.object({
|
|
15
|
+
id: marcoSchemas.string.required(),
|
|
16
|
+
settings: v.partial(userSettings),
|
|
17
|
+
}),
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
name: 'user',
|
|
21
|
+
pullURL: '/v1/pv/sync/pull/user',
|
|
22
|
+
pushURL: '/v1/pv/sync/push/user',
|
|
23
|
+
schemaVersion: 'v1',
|
|
24
|
+
};
|
|
@@ -44,6 +44,11 @@ export declare const endpoints: {
|
|
|
44
44
|
readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
45
45
|
readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
46
46
|
}, undefined>;
|
|
47
|
+
readonly settings: import("valibot").ObjectSchema<{
|
|
48
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
49
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
50
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
51
|
+
}, undefined>;
|
|
47
52
|
}, undefined>;
|
|
48
53
|
}, undefined>], undefined>, undefined>;
|
|
49
54
|
}, undefined>;
|
|
@@ -163,6 +168,14 @@ export declare const endpoints: {
|
|
|
163
168
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
164
169
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
165
170
|
readonly name: import("valibot").LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
171
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
172
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
173
|
+
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
174
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
175
|
+
}, undefined>;
|
|
176
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
177
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
178
|
+
readonly name: import("valibot").LiteralSchema<"add", undefined>;
|
|
166
179
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
167
180
|
readonly args: import("valibot").ObjectSchema<{
|
|
168
181
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,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"}
|
|
@@ -41,6 +41,11 @@ export declare const privateGroup: {
|
|
|
41
41
|
readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
42
42
|
readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
43
43
|
}, undefined>;
|
|
44
|
+
readonly settings: import("valibot").ObjectSchema<{
|
|
45
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
46
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
47
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
48
|
+
}, undefined>;
|
|
44
49
|
}, undefined>;
|
|
45
50
|
}, undefined>], undefined>, undefined>;
|
|
46
51
|
}, undefined>;
|
|
@@ -160,6 +165,14 @@ export declare const privateGroup: {
|
|
|
160
165
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
161
166
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
162
167
|
readonly name: import("valibot").LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
168
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
169
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
170
|
+
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
171
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
172
|
+
}, undefined>;
|
|
173
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
174
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
175
|
+
readonly name: import("valibot").LiteralSchema<"add", undefined>;
|
|
163
176
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
164
177
|
readonly args: import("valibot").ObjectSchema<{
|
|
165
178
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxB,CAAA"}
|
|
@@ -40,6 +40,11 @@ export declare const sync: {
|
|
|
40
40
|
readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
41
41
|
readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
42
42
|
}, undefined>;
|
|
43
|
+
readonly settings: import("valibot").ObjectSchema<{
|
|
44
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
45
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
46
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
47
|
+
}, undefined>;
|
|
43
48
|
}, undefined>;
|
|
44
49
|
}, undefined>], undefined>, undefined>;
|
|
45
50
|
}, undefined>;
|
|
@@ -159,6 +164,14 @@ export declare const sync: {
|
|
|
159
164
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
160
165
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
161
166
|
readonly name: import("valibot").LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
167
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
168
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
169
|
+
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
170
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
171
|
+
}, undefined>;
|
|
172
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
173
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
174
|
+
readonly name: import("valibot").LiteralSchema<"add", undefined>;
|
|
162
175
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
163
176
|
readonly args: import("valibot").ObjectSchema<{
|
|
164
177
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -39,6 +39,11 @@ export declare const syncPullAccount: import("../../../../..").EndpointConfig<"/
|
|
|
39
39
|
readonly complete: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
40
40
|
readonly total: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
41
41
|
}, undefined>;
|
|
42
|
+
readonly settings: v.ObjectSchema<{
|
|
43
|
+
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
44
|
+
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
45
|
+
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
46
|
+
}, undefined>;
|
|
42
47
|
}, undefined>;
|
|
43
48
|
}, undefined>], undefined>, undefined>;
|
|
44
49
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwB1B,CAAA"}
|
|
@@ -39,6 +39,11 @@ export declare const pull: {
|
|
|
39
39
|
readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
40
40
|
readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
41
41
|
}, undefined>;
|
|
42
|
+
readonly settings: import("valibot").ObjectSchema<{
|
|
43
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
44
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
45
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
46
|
+
}, undefined>;
|
|
42
47
|
}, undefined>;
|
|
43
48
|
}, undefined>], undefined>, undefined>;
|
|
44
49
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAA"}
|
|
@@ -14,6 +14,14 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
14
14
|
readonly clientID: v.StringSchema<undefined>;
|
|
15
15
|
readonly id: v.NumberSchema<undefined>;
|
|
16
16
|
readonly name: v.LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
17
|
+
}, undefined>, v.ObjectSchema<{
|
|
18
|
+
readonly args: v.ObjectSchema<{
|
|
19
|
+
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
20
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
23
|
+
readonly id: v.NumberSchema<undefined>;
|
|
24
|
+
readonly name: v.LiteralSchema<"add", undefined>;
|
|
17
25
|
}, undefined>, v.ObjectSchema<{
|
|
18
26
|
readonly args: v.ObjectSchema<{
|
|
19
27
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+B1B,CAAA"}
|
|
@@ -12,6 +12,12 @@ export const syncPushAccount = createEndpoint({
|
|
|
12
12
|
id: v.number(),
|
|
13
13
|
name: v.literal('setIMAPPasswordConfig'),
|
|
14
14
|
}),
|
|
15
|
+
v.object({
|
|
16
|
+
args: account.mutators.add.delta,
|
|
17
|
+
clientID: v.string(),
|
|
18
|
+
id: v.number(),
|
|
19
|
+
name: v.literal('add'),
|
|
20
|
+
}),
|
|
15
21
|
v.object({
|
|
16
22
|
args: account.mutators.delete.delta,
|
|
17
23
|
clientID: v.string(),
|
|
@@ -14,6 +14,14 @@ export declare const push: {
|
|
|
14
14
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
15
15
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
16
16
|
readonly name: import("valibot").LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
17
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
18
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
19
|
+
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
20
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
23
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
24
|
+
readonly name: import("valibot").LiteralSchema<"add", undefined>;
|
|
17
25
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
18
26
|
readonly args: import("valibot").ObjectSchema<{
|
|
19
27
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsB,CAAA"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -43,6 +43,11 @@ export declare const marcoSDK: {
|
|
|
43
43
|
readonly complete: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
44
44
|
readonly total: import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
|
|
45
45
|
}, undefined>;
|
|
46
|
+
readonly settings: import("valibot").ObjectSchema<{
|
|
47
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
48
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
49
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
50
|
+
}, undefined>;
|
|
46
51
|
}, undefined>;
|
|
47
52
|
}, undefined>], undefined>, undefined>;
|
|
48
53
|
}, undefined>;
|
|
@@ -162,6 +167,14 @@ export declare const marcoSDK: {
|
|
|
162
167
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
163
168
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
164
169
|
readonly name: import("valibot").LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
170
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
171
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
172
|
+
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
173
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
174
|
+
}, undefined>;
|
|
175
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
176
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
177
|
+
readonly name: import("valibot").LiteralSchema<"add", undefined>;
|
|
165
178
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
166
179
|
readonly args: import("valibot").ObjectSchema<{
|
|
167
180
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|