@marcoappio/marco-config 2.0.155 → 2.0.157
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 -0
- package/dist/clients/account.d.ts.map +1 -1
- package/dist/clients/account.js +1 -0
- package/dist/clients/index.d.ts +1 -0
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/index.d.ts +96 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +96 -0
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +96 -0
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +46 -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 +96 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/index.js +2 -1
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +52 -0
- package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/sync/push/user.js +24 -0
- package/dist/sdk/index.d.ts +96 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -28,6 +28,7 @@ export declare const account: {
|
|
|
28
28
|
mutators: {
|
|
29
29
|
add: {
|
|
30
30
|
delta: v.ObjectSchema<{
|
|
31
|
+
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
31
32
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
32
33
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
33
34
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDG,CAAA"}
|
package/dist/clients/account.js
CHANGED
package/dist/clients/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare const marcoClients: {
|
|
|
29
29
|
mutators: {
|
|
30
30
|
add: {
|
|
31
31
|
delta: import("valibot").ObjectSchema<{
|
|
32
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
32
33
|
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
33
34
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
34
35
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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"}
|
|
@@ -170,6 +170,7 @@ export declare const endpoints: {
|
|
|
170
170
|
readonly name: import("valibot").LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
171
171
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
172
172
|
readonly args: import("valibot").ObjectSchema<{
|
|
173
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
173
174
|
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
175
|
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
176
|
}, undefined>;
|
|
@@ -183,6 +184,51 @@ export declare const endpoints: {
|
|
|
183
184
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
184
185
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
185
186
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
187
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
188
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
189
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
190
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
191
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
192
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
193
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
194
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
195
|
+
readonly entries: {
|
|
196
|
+
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>;
|
|
197
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
198
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
199
|
+
};
|
|
200
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
201
|
+
color?: string | undefined;
|
|
202
|
+
firstName?: string | null | undefined;
|
|
203
|
+
lastName?: string | null | undefined;
|
|
204
|
+
}, {
|
|
205
|
+
color?: string | undefined;
|
|
206
|
+
firstName?: string | null | undefined;
|
|
207
|
+
lastName?: string | null | undefined;
|
|
208
|
+
}>;
|
|
209
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
210
|
+
color?: string | undefined;
|
|
211
|
+
firstName?: string | null | undefined;
|
|
212
|
+
lastName?: string | null | undefined;
|
|
213
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
|
|
214
|
+
readonly '~types'?: {
|
|
215
|
+
readonly input: {
|
|
216
|
+
color?: string | undefined;
|
|
217
|
+
firstName?: string | null | undefined;
|
|
218
|
+
lastName?: string | null | undefined;
|
|
219
|
+
};
|
|
220
|
+
readonly output: {
|
|
221
|
+
color?: string | undefined;
|
|
222
|
+
firstName?: string | null | undefined;
|
|
223
|
+
lastName?: string | null | undefined;
|
|
224
|
+
};
|
|
225
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
|
|
226
|
+
} | undefined;
|
|
227
|
+
};
|
|
228
|
+
}, undefined>;
|
|
229
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
230
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
231
|
+
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
186
232
|
}, undefined>], undefined>, undefined>;
|
|
187
233
|
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
188
234
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -217,6 +263,56 @@ export declare const endpoints: {
|
|
|
217
263
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
218
264
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
219
265
|
}, undefined>], undefined>>;
|
|
266
|
+
user: EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
267
|
+
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
268
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
269
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
270
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
271
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
272
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
273
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
274
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
275
|
+
readonly entries: {
|
|
276
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
277
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
278
|
+
};
|
|
279
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
280
|
+
firstName?: string | null | undefined;
|
|
281
|
+
lastName?: string | null | undefined;
|
|
282
|
+
}, {
|
|
283
|
+
firstName?: string | null | undefined;
|
|
284
|
+
lastName?: string | null | undefined;
|
|
285
|
+
}>;
|
|
286
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
287
|
+
firstName?: string | null | undefined;
|
|
288
|
+
lastName?: string | null | undefined;
|
|
289
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue>;
|
|
290
|
+
readonly '~types'?: {
|
|
291
|
+
readonly input: {
|
|
292
|
+
firstName?: string | null | undefined;
|
|
293
|
+
lastName?: string | null | undefined;
|
|
294
|
+
};
|
|
295
|
+
readonly output: {
|
|
296
|
+
firstName?: string | null | undefined;
|
|
297
|
+
lastName?: string | null | undefined;
|
|
298
|
+
};
|
|
299
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue;
|
|
300
|
+
} | undefined;
|
|
301
|
+
};
|
|
302
|
+
}, undefined>;
|
|
303
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
304
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
305
|
+
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
306
|
+
}, undefined>], undefined>, undefined>;
|
|
307
|
+
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
308
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
309
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
310
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
311
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
312
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
313
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
314
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
315
|
+
}, undefined>], undefined>>;
|
|
220
316
|
};
|
|
221
317
|
};
|
|
222
318
|
user: {
|
|
@@ -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"}
|
|
@@ -167,6 +167,7 @@ export declare const privateGroup: {
|
|
|
167
167
|
readonly name: import("valibot").LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
168
168
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
169
169
|
readonly args: import("valibot").ObjectSchema<{
|
|
170
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
170
171
|
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
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>;
|
|
172
173
|
}, undefined>;
|
|
@@ -180,6 +181,51 @@ export declare const privateGroup: {
|
|
|
180
181
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
181
182
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
182
183
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
184
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
185
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
186
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
187
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
188
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
189
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
190
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
191
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
192
|
+
readonly entries: {
|
|
193
|
+
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>;
|
|
194
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
195
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
196
|
+
};
|
|
197
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
198
|
+
color?: string | undefined;
|
|
199
|
+
firstName?: string | null | undefined;
|
|
200
|
+
lastName?: string | null | undefined;
|
|
201
|
+
}, {
|
|
202
|
+
color?: string | undefined;
|
|
203
|
+
firstName?: string | null | undefined;
|
|
204
|
+
lastName?: string | null | undefined;
|
|
205
|
+
}>;
|
|
206
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
207
|
+
color?: string | undefined;
|
|
208
|
+
firstName?: string | null | undefined;
|
|
209
|
+
lastName?: string | null | undefined;
|
|
210
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
|
|
211
|
+
readonly '~types'?: {
|
|
212
|
+
readonly input: {
|
|
213
|
+
color?: string | undefined;
|
|
214
|
+
firstName?: string | null | undefined;
|
|
215
|
+
lastName?: string | null | undefined;
|
|
216
|
+
};
|
|
217
|
+
readonly output: {
|
|
218
|
+
color?: string | undefined;
|
|
219
|
+
firstName?: string | null | undefined;
|
|
220
|
+
lastName?: string | null | undefined;
|
|
221
|
+
};
|
|
222
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
|
|
223
|
+
} | undefined;
|
|
224
|
+
};
|
|
225
|
+
}, undefined>;
|
|
226
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
227
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
228
|
+
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
183
229
|
}, undefined>], undefined>, undefined>;
|
|
184
230
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
185
231
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -214,6 +260,56 @@ export declare const privateGroup: {
|
|
|
214
260
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
215
261
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
216
262
|
}, undefined>], undefined>>;
|
|
263
|
+
user: import("../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
264
|
+
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
265
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
266
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
267
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
268
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
269
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
270
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
271
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
272
|
+
readonly entries: {
|
|
273
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
274
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
275
|
+
};
|
|
276
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
277
|
+
firstName?: string | null | undefined;
|
|
278
|
+
lastName?: string | null | undefined;
|
|
279
|
+
}, {
|
|
280
|
+
firstName?: string | null | undefined;
|
|
281
|
+
lastName?: string | null | undefined;
|
|
282
|
+
}>;
|
|
283
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
284
|
+
firstName?: string | null | undefined;
|
|
285
|
+
lastName?: string | null | undefined;
|
|
286
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue>;
|
|
287
|
+
readonly '~types'?: {
|
|
288
|
+
readonly input: {
|
|
289
|
+
firstName?: string | null | undefined;
|
|
290
|
+
lastName?: string | null | undefined;
|
|
291
|
+
};
|
|
292
|
+
readonly output: {
|
|
293
|
+
firstName?: string | null | undefined;
|
|
294
|
+
lastName?: string | null | undefined;
|
|
295
|
+
};
|
|
296
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue;
|
|
297
|
+
} | undefined;
|
|
298
|
+
};
|
|
299
|
+
}, undefined>;
|
|
300
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
301
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
302
|
+
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
303
|
+
}, undefined>], undefined>, undefined>;
|
|
304
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
305
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
306
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
307
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
308
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
309
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
310
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
311
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
312
|
+
}, undefined>], undefined>>;
|
|
217
313
|
};
|
|
218
314
|
};
|
|
219
315
|
user: {
|
|
@@ -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"}
|
|
@@ -166,6 +166,7 @@ export declare const sync: {
|
|
|
166
166
|
readonly name: import("valibot").LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
167
167
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
168
168
|
readonly args: import("valibot").ObjectSchema<{
|
|
169
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
169
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>;
|
|
170
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>;
|
|
171
172
|
}, undefined>;
|
|
@@ -179,6 +180,51 @@ export declare const sync: {
|
|
|
179
180
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
180
181
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
181
182
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
183
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
184
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
185
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
186
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
187
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
188
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
189
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
190
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
191
|
+
readonly entries: {
|
|
192
|
+
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>;
|
|
193
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
194
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
195
|
+
};
|
|
196
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
197
|
+
color?: string | undefined;
|
|
198
|
+
firstName?: string | null | undefined;
|
|
199
|
+
lastName?: string | null | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
color?: string | undefined;
|
|
202
|
+
firstName?: string | null | undefined;
|
|
203
|
+
lastName?: string | null | undefined;
|
|
204
|
+
}>;
|
|
205
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
206
|
+
color?: string | undefined;
|
|
207
|
+
firstName?: string | null | undefined;
|
|
208
|
+
lastName?: string | null | undefined;
|
|
209
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
|
|
210
|
+
readonly '~types'?: {
|
|
211
|
+
readonly input: {
|
|
212
|
+
color?: string | undefined;
|
|
213
|
+
firstName?: string | null | undefined;
|
|
214
|
+
lastName?: string | null | undefined;
|
|
215
|
+
};
|
|
216
|
+
readonly output: {
|
|
217
|
+
color?: string | undefined;
|
|
218
|
+
firstName?: string | null | undefined;
|
|
219
|
+
lastName?: string | null | undefined;
|
|
220
|
+
};
|
|
221
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
|
|
222
|
+
} | undefined;
|
|
223
|
+
};
|
|
224
|
+
}, undefined>;
|
|
225
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
226
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
227
|
+
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
182
228
|
}, undefined>], undefined>, undefined>;
|
|
183
229
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
184
230
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -213,6 +259,56 @@ export declare const sync: {
|
|
|
213
259
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
214
260
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
215
261
|
}, undefined>], undefined>>;
|
|
262
|
+
user: import("../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
263
|
+
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
264
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
265
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
266
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
267
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
268
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
269
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
270
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
271
|
+
readonly entries: {
|
|
272
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
273
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
274
|
+
};
|
|
275
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
276
|
+
firstName?: string | null | undefined;
|
|
277
|
+
lastName?: string | null | undefined;
|
|
278
|
+
}, {
|
|
279
|
+
firstName?: string | null | undefined;
|
|
280
|
+
lastName?: string | null | undefined;
|
|
281
|
+
}>;
|
|
282
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
283
|
+
firstName?: string | null | undefined;
|
|
284
|
+
lastName?: string | null | undefined;
|
|
285
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue>;
|
|
286
|
+
readonly '~types'?: {
|
|
287
|
+
readonly input: {
|
|
288
|
+
firstName?: string | null | undefined;
|
|
289
|
+
lastName?: string | null | undefined;
|
|
290
|
+
};
|
|
291
|
+
readonly output: {
|
|
292
|
+
firstName?: string | null | undefined;
|
|
293
|
+
lastName?: string | null | undefined;
|
|
294
|
+
};
|
|
295
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue;
|
|
296
|
+
} | undefined;
|
|
297
|
+
};
|
|
298
|
+
}, undefined>;
|
|
299
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
300
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
301
|
+
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
302
|
+
}, undefined>], undefined>, undefined>;
|
|
303
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
304
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
305
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
306
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
307
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
308
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
309
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
310
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
311
|
+
}, undefined>], undefined>>;
|
|
216
312
|
};
|
|
217
313
|
};
|
|
218
314
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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"}
|
|
@@ -16,6 +16,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
16
16
|
readonly name: v.LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
17
17
|
}, undefined>, v.ObjectSchema<{
|
|
18
18
|
readonly args: v.ObjectSchema<{
|
|
19
|
+
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
19
20
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
20
21
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
21
22
|
}, undefined>;
|
|
@@ -29,6 +30,51 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
29
30
|
readonly clientID: v.StringSchema<undefined>;
|
|
30
31
|
readonly id: v.NumberSchema<undefined>;
|
|
31
32
|
readonly name: v.LiteralSchema<"delete", undefined>;
|
|
33
|
+
}, undefined>, v.ObjectSchema<{
|
|
34
|
+
readonly args: v.ObjectSchema<{
|
|
35
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
36
|
+
readonly settings: Omit<v.ObjectSchema<{
|
|
37
|
+
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
38
|
+
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
39
|
+
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
40
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
41
|
+
readonly entries: {
|
|
42
|
+
readonly color: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
43
|
+
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
44
|
+
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
45
|
+
};
|
|
46
|
+
readonly '~standard': v.StandardSchemaProps<{
|
|
47
|
+
color?: string | undefined;
|
|
48
|
+
firstName?: string | null | undefined;
|
|
49
|
+
lastName?: string | null | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
color?: string | undefined;
|
|
52
|
+
firstName?: string | null | undefined;
|
|
53
|
+
lastName?: string | null | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
56
|
+
color?: string | undefined;
|
|
57
|
+
firstName?: string | null | undefined;
|
|
58
|
+
lastName?: string | null | undefined;
|
|
59
|
+
}, v.StringIssue | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.NonOptionalIssue>;
|
|
60
|
+
readonly '~types'?: {
|
|
61
|
+
readonly input: {
|
|
62
|
+
color?: string | undefined;
|
|
63
|
+
firstName?: string | null | undefined;
|
|
64
|
+
lastName?: string | null | undefined;
|
|
65
|
+
};
|
|
66
|
+
readonly output: {
|
|
67
|
+
color?: string | undefined;
|
|
68
|
+
firstName?: string | null | undefined;
|
|
69
|
+
lastName?: string | null | undefined;
|
|
70
|
+
};
|
|
71
|
+
readonly issue: v.StringIssue | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ObjectIssue | v.NonOptionalIssue;
|
|
72
|
+
} | undefined;
|
|
73
|
+
};
|
|
74
|
+
}, undefined>;
|
|
75
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
76
|
+
readonly id: v.NumberSchema<undefined>;
|
|
77
|
+
readonly name: v.LiteralSchema<"setSettings", undefined>;
|
|
32
78
|
}, undefined>], undefined>, undefined>;
|
|
33
79
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
34
80
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAqC1B,CAAA"}
|
|
@@ -24,6 +24,12 @@ export const syncPushAccount = createEndpoint({
|
|
|
24
24
|
id: v.number(),
|
|
25
25
|
name: v.literal('delete'),
|
|
26
26
|
}),
|
|
27
|
+
v.object({
|
|
28
|
+
args: account.mutators.setSettings.delta,
|
|
29
|
+
clientID: v.string(),
|
|
30
|
+
id: v.number(),
|
|
31
|
+
name: v.literal('setSettings'),
|
|
32
|
+
}),
|
|
27
33
|
])),
|
|
28
34
|
}),
|
|
29
35
|
method: 'POST',
|
|
@@ -16,6 +16,7 @@ export declare const push: {
|
|
|
16
16
|
readonly name: import("valibot").LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
17
17
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
18
18
|
readonly args: import("valibot").ObjectSchema<{
|
|
19
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
19
20
|
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
21
|
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
22
|
}, undefined>;
|
|
@@ -29,6 +30,51 @@ export declare const push: {
|
|
|
29
30
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
30
31
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
31
32
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
33
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
34
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
35
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
36
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
37
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
38
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
39
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
40
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
41
|
+
readonly entries: {
|
|
42
|
+
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>;
|
|
43
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
44
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
45
|
+
};
|
|
46
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
47
|
+
color?: string | undefined;
|
|
48
|
+
firstName?: string | null | undefined;
|
|
49
|
+
lastName?: string | null | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
color?: string | undefined;
|
|
52
|
+
firstName?: string | null | undefined;
|
|
53
|
+
lastName?: string | null | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
56
|
+
color?: string | undefined;
|
|
57
|
+
firstName?: string | null | undefined;
|
|
58
|
+
lastName?: string | null | undefined;
|
|
59
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
|
|
60
|
+
readonly '~types'?: {
|
|
61
|
+
readonly input: {
|
|
62
|
+
color?: string | undefined;
|
|
63
|
+
firstName?: string | null | undefined;
|
|
64
|
+
lastName?: string | null | undefined;
|
|
65
|
+
};
|
|
66
|
+
readonly output: {
|
|
67
|
+
color?: string | undefined;
|
|
68
|
+
firstName?: string | null | undefined;
|
|
69
|
+
lastName?: string | null | undefined;
|
|
70
|
+
};
|
|
71
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
|
|
72
|
+
} | undefined;
|
|
73
|
+
};
|
|
74
|
+
}, undefined>;
|
|
75
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
76
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
77
|
+
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
32
78
|
}, undefined>], undefined>, undefined>;
|
|
33
79
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
34
80
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -63,5 +109,55 @@ export declare const push: {
|
|
|
63
109
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
64
110
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
65
111
|
}, undefined>], undefined>>;
|
|
112
|
+
user: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
113
|
+
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
114
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
115
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
116
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
117
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
118
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
119
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
120
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
121
|
+
readonly entries: {
|
|
122
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
123
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
124
|
+
};
|
|
125
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
126
|
+
firstName?: string | null | undefined;
|
|
127
|
+
lastName?: string | null | undefined;
|
|
128
|
+
}, {
|
|
129
|
+
firstName?: string | null | undefined;
|
|
130
|
+
lastName?: string | null | undefined;
|
|
131
|
+
}>;
|
|
132
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
133
|
+
firstName?: string | null | undefined;
|
|
134
|
+
lastName?: string | null | undefined;
|
|
135
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue>;
|
|
136
|
+
readonly '~types'?: {
|
|
137
|
+
readonly input: {
|
|
138
|
+
firstName?: string | null | undefined;
|
|
139
|
+
lastName?: string | null | undefined;
|
|
140
|
+
};
|
|
141
|
+
readonly output: {
|
|
142
|
+
firstName?: string | null | undefined;
|
|
143
|
+
lastName?: string | null | undefined;
|
|
144
|
+
};
|
|
145
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue;
|
|
146
|
+
} | undefined;
|
|
147
|
+
};
|
|
148
|
+
}, undefined>;
|
|
149
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
150
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
151
|
+
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
152
|
+
}, undefined>], undefined>, undefined>;
|
|
153
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
154
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
155
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
156
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
157
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
158
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
159
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
160
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
161
|
+
}, undefined>], undefined>>;
|
|
66
162
|
};
|
|
67
163
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/pv/sync/push/user", v.ObjectSchema<{
|
|
3
|
+
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
|
+
readonly mutations: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
+
readonly args: v.ObjectSchema<{
|
|
6
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
7
|
+
readonly settings: Omit<v.ObjectSchema<{
|
|
8
|
+
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
9
|
+
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
10
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
11
|
+
readonly entries: {
|
|
12
|
+
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
13
|
+
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
14
|
+
};
|
|
15
|
+
readonly '~standard': v.StandardSchemaProps<{
|
|
16
|
+
firstName?: string | null | undefined;
|
|
17
|
+
lastName?: string | null | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
firstName?: string | null | undefined;
|
|
20
|
+
lastName?: string | null | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
23
|
+
firstName?: string | null | undefined;
|
|
24
|
+
lastName?: string | null | undefined;
|
|
25
|
+
}, v.StringIssue | v.MaxLengthIssue<string, 255> | v.ObjectIssue>;
|
|
26
|
+
readonly '~types'?: {
|
|
27
|
+
readonly input: {
|
|
28
|
+
firstName?: string | null | undefined;
|
|
29
|
+
lastName?: string | null | undefined;
|
|
30
|
+
};
|
|
31
|
+
readonly output: {
|
|
32
|
+
firstName?: string | null | undefined;
|
|
33
|
+
lastName?: string | null | undefined;
|
|
34
|
+
};
|
|
35
|
+
readonly issue: v.StringIssue | v.MaxLengthIssue<string, 255> | v.ObjectIssue;
|
|
36
|
+
} | undefined;
|
|
37
|
+
};
|
|
38
|
+
}, undefined>;
|
|
39
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
40
|
+
readonly id: v.NumberSchema<undefined>;
|
|
41
|
+
readonly name: v.LiteralSchema<"setSettings", undefined>;
|
|
42
|
+
}, undefined>], undefined>, undefined>;
|
|
43
|
+
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
44
|
+
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
45
|
+
readonly status: v.LiteralSchema<400, undefined>;
|
|
46
|
+
}, undefined>, v.ObjectSchema<{
|
|
47
|
+
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
48
|
+
readonly status: v.LiteralSchema<401, undefined>;
|
|
49
|
+
}, undefined>, v.ObjectSchema<{
|
|
50
|
+
readonly status: v.LiteralSchema<200, undefined>;
|
|
51
|
+
}, undefined>], undefined>>;
|
|
52
|
+
//# sourceMappingURL=user.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAmBvB,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { user } from '../../../../../clients/user';
|
|
3
|
+
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
4
|
+
import { errorManifest } from '../../../../../sdk/validation/errors';
|
|
5
|
+
export const syncPushUser = createEndpoint({
|
|
6
|
+
body: v.object({
|
|
7
|
+
clientGroupID: v.string(),
|
|
8
|
+
mutations: v.array(v.union([
|
|
9
|
+
v.object({
|
|
10
|
+
args: user.mutators.setSettings.delta,
|
|
11
|
+
clientID: v.string(),
|
|
12
|
+
id: v.number(),
|
|
13
|
+
name: v.literal('setSettings'),
|
|
14
|
+
}),
|
|
15
|
+
])),
|
|
16
|
+
}),
|
|
17
|
+
method: 'POST',
|
|
18
|
+
path: user.pushURL,
|
|
19
|
+
response: v.union([
|
|
20
|
+
errorManifest.validationFailedErrorSchema,
|
|
21
|
+
errorManifest.authenticationFailedErrorSchema,
|
|
22
|
+
v.object({ status: v.literal(200) }),
|
|
23
|
+
]),
|
|
24
|
+
});
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -169,6 +169,7 @@ export declare const marcoSDK: {
|
|
|
169
169
|
readonly name: import("valibot").LiteralSchema<"setIMAPPasswordConfig", undefined>;
|
|
170
170
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
171
171
|
readonly args: import("valibot").ObjectSchema<{
|
|
172
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
172
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>;
|
|
173
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>;
|
|
174
175
|
}, undefined>;
|
|
@@ -182,6 +183,51 @@ export declare const marcoSDK: {
|
|
|
182
183
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
183
184
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
184
185
|
readonly name: import("valibot").LiteralSchema<"delete", undefined>;
|
|
186
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
187
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
188
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
189
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
190
|
+
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
191
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
192
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
193
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
194
|
+
readonly entries: {
|
|
195
|
+
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>;
|
|
196
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
197
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
198
|
+
};
|
|
199
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
200
|
+
color?: string | undefined;
|
|
201
|
+
firstName?: string | null | undefined;
|
|
202
|
+
lastName?: string | null | undefined;
|
|
203
|
+
}, {
|
|
204
|
+
color?: string | undefined;
|
|
205
|
+
firstName?: string | null | undefined;
|
|
206
|
+
lastName?: string | null | undefined;
|
|
207
|
+
}>;
|
|
208
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
209
|
+
color?: string | undefined;
|
|
210
|
+
firstName?: string | null | undefined;
|
|
211
|
+
lastName?: string | null | undefined;
|
|
212
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
|
|
213
|
+
readonly '~types'?: {
|
|
214
|
+
readonly input: {
|
|
215
|
+
color?: string | undefined;
|
|
216
|
+
firstName?: string | null | undefined;
|
|
217
|
+
lastName?: string | null | undefined;
|
|
218
|
+
};
|
|
219
|
+
readonly output: {
|
|
220
|
+
color?: string | undefined;
|
|
221
|
+
firstName?: string | null | undefined;
|
|
222
|
+
lastName?: string | null | undefined;
|
|
223
|
+
};
|
|
224
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
|
|
225
|
+
} | undefined;
|
|
226
|
+
};
|
|
227
|
+
}, undefined>;
|
|
228
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
229
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
230
|
+
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
185
231
|
}, undefined>], undefined>, undefined>;
|
|
186
232
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
187
233
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -216,6 +262,56 @@ export declare const marcoSDK: {
|
|
|
216
262
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
217
263
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
218
264
|
}, undefined>], undefined>>;
|
|
265
|
+
user: import("..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
|
|
266
|
+
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
267
|
+
readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
268
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
269
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
270
|
+
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
271
|
+
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
272
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
273
|
+
}, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
|
|
274
|
+
readonly entries: {
|
|
275
|
+
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
276
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
277
|
+
};
|
|
278
|
+
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
279
|
+
firstName?: string | null | undefined;
|
|
280
|
+
lastName?: string | null | undefined;
|
|
281
|
+
}, {
|
|
282
|
+
firstName?: string | null | undefined;
|
|
283
|
+
lastName?: string | null | undefined;
|
|
284
|
+
}>;
|
|
285
|
+
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
286
|
+
firstName?: string | null | undefined;
|
|
287
|
+
lastName?: string | null | undefined;
|
|
288
|
+
}, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue>;
|
|
289
|
+
readonly '~types'?: {
|
|
290
|
+
readonly input: {
|
|
291
|
+
firstName?: string | null | undefined;
|
|
292
|
+
lastName?: string | null | undefined;
|
|
293
|
+
};
|
|
294
|
+
readonly output: {
|
|
295
|
+
firstName?: string | null | undefined;
|
|
296
|
+
lastName?: string | null | undefined;
|
|
297
|
+
};
|
|
298
|
+
readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue;
|
|
299
|
+
} | undefined;
|
|
300
|
+
};
|
|
301
|
+
}, undefined>;
|
|
302
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
303
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
304
|
+
readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
|
|
305
|
+
}, undefined>], undefined>, undefined>;
|
|
306
|
+
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
307
|
+
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
308
|
+
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
309
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
310
|
+
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
311
|
+
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
312
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
313
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
314
|
+
}, undefined>], undefined>>;
|
|
219
315
|
};
|
|
220
316
|
};
|
|
221
317
|
user: {
|
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"}
|