@marcoappio/marco-config 2.0.156 → 2.0.158

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.
@@ -151,6 +151,38 @@ export declare const endpoints: {
151
151
  }, undefined>;
152
152
  readonly status: import("valibot").LiteralSchema<200, undefined>;
153
153
  }, undefined>], undefined>>;
154
+ user: EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
155
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
156
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
157
+ }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
158
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
159
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
160
+ }, undefined>, import("valibot").ObjectSchema<{
161
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
162
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
163
+ }, undefined>, import("valibot").ObjectSchema<{
164
+ readonly data: import("valibot").ObjectSchema<{
165
+ readonly cookie: import("valibot").NumberSchema<undefined>;
166
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
167
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
168
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
169
+ }, undefined>, import("valibot").ObjectSchema<{
170
+ readonly key: import("valibot").StringSchema<undefined>;
171
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
172
+ }, undefined>, import("valibot").ObjectSchema<{
173
+ readonly key: import("valibot").StringSchema<undefined>;
174
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
175
+ readonly value: import("valibot").ObjectSchema<{
176
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
177
+ readonly settings: import("valibot").ObjectSchema<{
178
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
179
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
180
+ }, undefined>;
181
+ }, undefined>;
182
+ }, undefined>], undefined>, undefined>;
183
+ }, undefined>;
184
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
185
+ }, undefined>], undefined>>;
154
186
  };
155
187
  push: {
156
188
  account: EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
@@ -184,6 +216,51 @@ export declare const endpoints: {
184
216
  readonly clientID: import("valibot").StringSchema<undefined>;
185
217
  readonly id: import("valibot").NumberSchema<undefined>;
186
218
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
219
+ }, undefined>, import("valibot").ObjectSchema<{
220
+ readonly args: import("valibot").ObjectSchema<{
221
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
222
+ readonly settings: Omit<import("valibot").ObjectSchema<{
223
+ readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
224
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
225
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
226
+ }, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
227
+ readonly entries: {
228
+ 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>;
229
+ readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
230
+ readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
231
+ };
232
+ readonly '~standard': import("valibot").StandardSchemaProps<{
233
+ color?: string | undefined;
234
+ firstName?: string | null | undefined;
235
+ lastName?: string | null | undefined;
236
+ }, {
237
+ color?: string | undefined;
238
+ firstName?: string | null | undefined;
239
+ lastName?: string | null | undefined;
240
+ }>;
241
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
242
+ color?: string | undefined;
243
+ firstName?: string | null | undefined;
244
+ lastName?: string | null | undefined;
245
+ }, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
246
+ readonly '~types'?: {
247
+ readonly input: {
248
+ color?: string | undefined;
249
+ firstName?: string | null | undefined;
250
+ lastName?: string | null | undefined;
251
+ };
252
+ readonly output: {
253
+ color?: string | undefined;
254
+ firstName?: string | null | undefined;
255
+ lastName?: string | null | undefined;
256
+ };
257
+ readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
258
+ } | undefined;
259
+ };
260
+ }, undefined>;
261
+ readonly clientID: import("valibot").StringSchema<undefined>;
262
+ readonly id: import("valibot").NumberSchema<undefined>;
263
+ readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
187
264
  }, undefined>], undefined>, undefined>;
188
265
  }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
189
266
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -218,6 +295,56 @@ export declare const endpoints: {
218
295
  }, undefined>, import("valibot").ObjectSchema<{
219
296
  readonly status: import("valibot").LiteralSchema<200, undefined>;
220
297
  }, undefined>], undefined>>;
298
+ user: EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
299
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
300
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
301
+ readonly args: import("valibot").ObjectSchema<{
302
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
303
+ readonly settings: Omit<import("valibot").ObjectSchema<{
304
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
305
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
306
+ }, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
307
+ readonly entries: {
308
+ readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
309
+ readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
310
+ };
311
+ readonly '~standard': import("valibot").StandardSchemaProps<{
312
+ firstName?: string | null | undefined;
313
+ lastName?: string | null | undefined;
314
+ }, {
315
+ firstName?: string | null | undefined;
316
+ lastName?: string | null | undefined;
317
+ }>;
318
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
319
+ firstName?: string | null | undefined;
320
+ lastName?: string | null | undefined;
321
+ }, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue>;
322
+ readonly '~types'?: {
323
+ readonly input: {
324
+ firstName?: string | null | undefined;
325
+ lastName?: string | null | undefined;
326
+ };
327
+ readonly output: {
328
+ firstName?: string | null | undefined;
329
+ lastName?: string | null | undefined;
330
+ };
331
+ readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue;
332
+ } | undefined;
333
+ };
334
+ }, undefined>;
335
+ readonly clientID: import("valibot").StringSchema<undefined>;
336
+ readonly id: import("valibot").NumberSchema<undefined>;
337
+ readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
338
+ }, undefined>], undefined>, undefined>;
339
+ }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
340
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
341
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
342
+ }, undefined>, import("valibot").ObjectSchema<{
343
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
344
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
345
+ }, undefined>, import("valibot").ObjectSchema<{
346
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
347
+ }, undefined>], undefined>>;
221
348
  };
222
349
  };
223
350
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
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"}
@@ -148,6 +148,38 @@ export declare const privateGroup: {
148
148
  }, undefined>;
149
149
  readonly status: import("valibot").LiteralSchema<200, undefined>;
150
150
  }, undefined>], undefined>>;
151
+ user: import("../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
152
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
153
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
154
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
155
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
156
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
157
+ }, undefined>, import("valibot").ObjectSchema<{
158
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
159
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
160
+ }, undefined>, import("valibot").ObjectSchema<{
161
+ readonly data: import("valibot").ObjectSchema<{
162
+ readonly cookie: import("valibot").NumberSchema<undefined>;
163
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
164
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
165
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
166
+ }, undefined>, import("valibot").ObjectSchema<{
167
+ readonly key: import("valibot").StringSchema<undefined>;
168
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
169
+ }, undefined>, import("valibot").ObjectSchema<{
170
+ readonly key: import("valibot").StringSchema<undefined>;
171
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
172
+ readonly value: import("valibot").ObjectSchema<{
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
+ readonly settings: import("valibot").ObjectSchema<{
175
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
176
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
177
+ }, undefined>;
178
+ }, undefined>;
179
+ }, undefined>], undefined>, undefined>;
180
+ }, undefined>;
181
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
182
+ }, undefined>], undefined>>;
151
183
  };
152
184
  push: {
153
185
  account: import("../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
@@ -181,6 +213,51 @@ export declare const privateGroup: {
181
213
  readonly clientID: import("valibot").StringSchema<undefined>;
182
214
  readonly id: import("valibot").NumberSchema<undefined>;
183
215
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
216
+ }, undefined>, import("valibot").ObjectSchema<{
217
+ readonly args: import("valibot").ObjectSchema<{
218
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
219
+ readonly settings: Omit<import("valibot").ObjectSchema<{
220
+ readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
221
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
222
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
223
+ }, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
224
+ readonly entries: {
225
+ 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>;
226
+ readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
227
+ readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
228
+ };
229
+ readonly '~standard': import("valibot").StandardSchemaProps<{
230
+ color?: string | undefined;
231
+ firstName?: string | null | undefined;
232
+ lastName?: string | null | undefined;
233
+ }, {
234
+ color?: string | undefined;
235
+ firstName?: string | null | undefined;
236
+ lastName?: string | null | undefined;
237
+ }>;
238
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
239
+ color?: string | undefined;
240
+ firstName?: string | null | undefined;
241
+ lastName?: string | null | undefined;
242
+ }, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
243
+ readonly '~types'?: {
244
+ readonly input: {
245
+ color?: string | undefined;
246
+ firstName?: string | null | undefined;
247
+ lastName?: string | null | undefined;
248
+ };
249
+ readonly output: {
250
+ color?: string | undefined;
251
+ firstName?: string | null | undefined;
252
+ lastName?: string | null | undefined;
253
+ };
254
+ readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
255
+ } | undefined;
256
+ };
257
+ }, undefined>;
258
+ readonly clientID: import("valibot").StringSchema<undefined>;
259
+ readonly id: import("valibot").NumberSchema<undefined>;
260
+ readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
184
261
  }, undefined>], undefined>, undefined>;
185
262
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
186
263
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -215,6 +292,56 @@ export declare const privateGroup: {
215
292
  }, undefined>, import("valibot").ObjectSchema<{
216
293
  readonly status: import("valibot").LiteralSchema<200, undefined>;
217
294
  }, undefined>], undefined>>;
295
+ user: import("../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
296
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
297
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
298
+ readonly args: import("valibot").ObjectSchema<{
299
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
300
+ readonly settings: Omit<import("valibot").ObjectSchema<{
301
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
302
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
303
+ }, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
304
+ readonly entries: {
305
+ readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
306
+ readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
307
+ };
308
+ readonly '~standard': import("valibot").StandardSchemaProps<{
309
+ firstName?: string | null | undefined;
310
+ lastName?: string | null | undefined;
311
+ }, {
312
+ firstName?: string | null | undefined;
313
+ lastName?: string | null | undefined;
314
+ }>;
315
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
316
+ firstName?: string | null | undefined;
317
+ lastName?: string | null | undefined;
318
+ }, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue>;
319
+ readonly '~types'?: {
320
+ readonly input: {
321
+ firstName?: string | null | undefined;
322
+ lastName?: string | null | undefined;
323
+ };
324
+ readonly output: {
325
+ firstName?: string | null | undefined;
326
+ lastName?: string | null | undefined;
327
+ };
328
+ readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue;
329
+ } | undefined;
330
+ };
331
+ }, undefined>;
332
+ readonly clientID: import("valibot").StringSchema<undefined>;
333
+ readonly id: import("valibot").NumberSchema<undefined>;
334
+ readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
335
+ }, undefined>], undefined>, undefined>;
336
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
337
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
338
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
339
+ }, undefined>, import("valibot").ObjectSchema<{
340
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
341
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
342
+ }, undefined>, import("valibot").ObjectSchema<{
343
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
344
+ }, undefined>], undefined>>;
218
345
  };
219
346
  };
220
347
  user: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxB,CAAA"}
@@ -147,6 +147,38 @@ export declare const sync: {
147
147
  }, undefined>;
148
148
  readonly status: import("valibot").LiteralSchema<200, undefined>;
149
149
  }, undefined>], undefined>>;
150
+ user: import("../../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
151
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
152
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<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 data: import("valibot").ObjectSchema<{
161
+ readonly cookie: import("valibot").NumberSchema<undefined>;
162
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
163
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
164
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
165
+ }, undefined>, import("valibot").ObjectSchema<{
166
+ readonly key: import("valibot").StringSchema<undefined>;
167
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
168
+ }, undefined>, import("valibot").ObjectSchema<{
169
+ readonly key: import("valibot").StringSchema<undefined>;
170
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
171
+ readonly value: 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: 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>;
177
+ }, undefined>;
178
+ }, undefined>], undefined>, undefined>;
179
+ }, undefined>;
180
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
181
+ }, undefined>], undefined>>;
150
182
  };
151
183
  push: {
152
184
  account: import("../../../..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
@@ -180,6 +212,51 @@ export declare const sync: {
180
212
  readonly clientID: import("valibot").StringSchema<undefined>;
181
213
  readonly id: import("valibot").NumberSchema<undefined>;
182
214
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
215
+ }, undefined>, import("valibot").ObjectSchema<{
216
+ readonly args: import("valibot").ObjectSchema<{
217
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
218
+ readonly settings: Omit<import("valibot").ObjectSchema<{
219
+ readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
220
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
221
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
222
+ }, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
223
+ readonly entries: {
224
+ 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>;
225
+ readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
226
+ readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
227
+ };
228
+ readonly '~standard': import("valibot").StandardSchemaProps<{
229
+ color?: string | undefined;
230
+ firstName?: string | null | undefined;
231
+ lastName?: string | null | undefined;
232
+ }, {
233
+ color?: string | undefined;
234
+ firstName?: string | null | undefined;
235
+ lastName?: string | null | undefined;
236
+ }>;
237
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
238
+ color?: string | undefined;
239
+ firstName?: string | null | undefined;
240
+ lastName?: string | null | undefined;
241
+ }, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
242
+ readonly '~types'?: {
243
+ readonly input: {
244
+ color?: string | undefined;
245
+ firstName?: string | null | undefined;
246
+ lastName?: string | null | undefined;
247
+ };
248
+ readonly output: {
249
+ color?: string | undefined;
250
+ firstName?: string | null | undefined;
251
+ lastName?: string | null | undefined;
252
+ };
253
+ readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
254
+ } | undefined;
255
+ };
256
+ }, undefined>;
257
+ readonly clientID: import("valibot").StringSchema<undefined>;
258
+ readonly id: import("valibot").NumberSchema<undefined>;
259
+ readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
183
260
  }, undefined>], undefined>, undefined>;
184
261
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
185
262
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -214,6 +291,56 @@ export declare const sync: {
214
291
  }, undefined>, import("valibot").ObjectSchema<{
215
292
  readonly status: import("valibot").LiteralSchema<200, undefined>;
216
293
  }, undefined>], undefined>>;
294
+ user: import("../../../..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
295
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
296
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
297
+ readonly args: import("valibot").ObjectSchema<{
298
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
299
+ readonly settings: Omit<import("valibot").ObjectSchema<{
300
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
301
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
302
+ }, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
303
+ readonly entries: {
304
+ readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
305
+ readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
306
+ };
307
+ readonly '~standard': import("valibot").StandardSchemaProps<{
308
+ firstName?: string | null | undefined;
309
+ lastName?: string | null | undefined;
310
+ }, {
311
+ firstName?: string | null | undefined;
312
+ lastName?: string | null | undefined;
313
+ }>;
314
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
315
+ firstName?: string | null | undefined;
316
+ lastName?: string | null | undefined;
317
+ }, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue>;
318
+ readonly '~types'?: {
319
+ readonly input: {
320
+ firstName?: string | null | undefined;
321
+ lastName?: string | null | undefined;
322
+ };
323
+ readonly output: {
324
+ firstName?: string | null | undefined;
325
+ lastName?: string | null | undefined;
326
+ };
327
+ readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue;
328
+ } | undefined;
329
+ };
330
+ }, undefined>;
331
+ readonly clientID: import("valibot").StringSchema<undefined>;
332
+ readonly id: import("valibot").NumberSchema<undefined>;
333
+ readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
334
+ }, undefined>], undefined>, undefined>;
335
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
336
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
337
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
338
+ }, undefined>, import("valibot").ObjectSchema<{
339
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
340
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
341
+ }, undefined>, import("valibot").ObjectSchema<{
342
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
343
+ }, undefined>], undefined>>;
217
344
  };
218
345
  };
219
346
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -146,5 +146,37 @@ export declare const pull: {
146
146
  }, undefined>;
147
147
  readonly status: import("valibot").LiteralSchema<200, undefined>;
148
148
  }, undefined>], undefined>>;
149
+ user: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
150
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
151
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
152
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
153
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
154
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
155
+ }, undefined>, import("valibot").ObjectSchema<{
156
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
157
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
158
+ }, undefined>, import("valibot").ObjectSchema<{
159
+ readonly data: import("valibot").ObjectSchema<{
160
+ readonly cookie: import("valibot").NumberSchema<undefined>;
161
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
162
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
163
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
164
+ }, undefined>, import("valibot").ObjectSchema<{
165
+ readonly key: import("valibot").StringSchema<undefined>;
166
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
167
+ }, undefined>, import("valibot").ObjectSchema<{
168
+ readonly key: import("valibot").StringSchema<undefined>;
169
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
170
+ readonly value: import("valibot").ObjectSchema<{
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
+ readonly settings: import("valibot").ObjectSchema<{
173
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
174
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
175
+ }, undefined>;
176
+ }, undefined>;
177
+ }, undefined>], undefined>, undefined>;
178
+ }, undefined>;
179
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
180
+ }, undefined>], undefined>>;
149
181
  };
150
182
  //# sourceMappingURL=index.d.ts.map
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { syncPullAccount as account } from './account';
2
2
  import { syncPullContact as contact } from './contact';
3
3
  import { syncPullThread as thread } from './thread';
4
- export const pull = { account, contact, thread };
4
+ import { syncPullUser as user } from './user';
5
+ export const pull = { account, contact, thread, user };
@@ -0,0 +1,34 @@
1
+ import * as v from 'valibot';
2
+ export declare const syncPullUser: import("../../../../..").EndpointConfig<"/v1/pv/sync/pull/user", v.ObjectSchema<{
3
+ readonly clientGroupID: v.StringSchema<undefined>;
4
+ readonly cookie: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
5
+ }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
6
+ readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
7
+ readonly status: v.LiteralSchema<400, undefined>;
8
+ }, undefined>, v.ObjectSchema<{
9
+ readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
10
+ readonly status: v.LiteralSchema<401, undefined>;
11
+ }, undefined>, v.ObjectSchema<{
12
+ readonly data: v.ObjectSchema<{
13
+ readonly cookie: v.NumberSchema<undefined>;
14
+ readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
15
+ readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
16
+ readonly op: v.LiteralSchema<"clear", undefined>;
17
+ }, undefined>, v.ObjectSchema<{
18
+ readonly key: v.StringSchema<undefined>;
19
+ readonly op: v.LiteralSchema<"del", undefined>;
20
+ }, undefined>, v.ObjectSchema<{
21
+ readonly key: v.StringSchema<undefined>;
22
+ readonly op: v.LiteralSchema<"put", undefined>;
23
+ readonly value: v.ObjectSchema<{
24
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
25
+ readonly settings: v.ObjectSchema<{
26
+ readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
27
+ readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
28
+ }, undefined>;
29
+ }, undefined>;
30
+ }, undefined>], undefined>, undefined>;
31
+ }, undefined>;
32
+ readonly status: v.LiteralSchema<200, undefined>;
33
+ }, undefined>], undefined>>;
34
+ //# sourceMappingURL=user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwBvB,CAAA"}
@@ -0,0 +1,28 @@
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 syncPullUser = createEndpoint({
6
+ body: v.object({
7
+ clientGroupID: v.string(),
8
+ cookie: v.nullable(v.number()),
9
+ }),
10
+ method: 'POST',
11
+ path: user.pullURL,
12
+ response: v.union([
13
+ errorManifest.validationFailedErrorSchema,
14
+ errorManifest.authenticationFailedErrorSchema,
15
+ v.object({
16
+ data: v.object({
17
+ cookie: v.number(),
18
+ lastMutationIDChanges: v.record(v.string(), v.number()),
19
+ patch: v.array(v.union([
20
+ v.object({ op: v.literal('clear') }),
21
+ v.object({ key: v.string(), op: v.literal('del') }),
22
+ v.object({ key: v.string(), op: v.literal('put'), value: user.model }),
23
+ ])),
24
+ }),
25
+ status: v.literal(200),
26
+ }),
27
+ ]),
28
+ });
@@ -30,6 +30,51 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
30
30
  readonly clientID: v.StringSchema<undefined>;
31
31
  readonly id: v.NumberSchema<undefined>;
32
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>;
33
78
  }, undefined>], undefined>, undefined>;
34
79
  }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
35
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+B1B,CAAA"}
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',
@@ -30,6 +30,51 @@ export declare const push: {
30
30
  readonly clientID: import("valibot").StringSchema<undefined>;
31
31
  readonly id: import("valibot").NumberSchema<undefined>;
32
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>;
33
78
  }, undefined>], undefined>, undefined>;
34
79
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
35
80
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -64,5 +109,55 @@ export declare const push: {
64
109
  }, undefined>, import("valibot").ObjectSchema<{
65
110
  readonly status: import("valibot").LiteralSchema<200, undefined>;
66
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>>;
67
162
  };
68
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":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsB,CAAA"}
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"}
@@ -1,3 +1,4 @@
1
1
  import { syncPushAccount as account } from './account';
2
2
  import { syncPushThread as thread } from './thread';
3
- export const push = { account, thread };
3
+ import { syncPushUser as user } from './user';
4
+ export const push = { account, thread, user };
@@ -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
+ });
@@ -150,6 +150,38 @@ export declare const marcoSDK: {
150
150
  }, undefined>;
151
151
  readonly status: import("valibot").LiteralSchema<200, undefined>;
152
152
  }, undefined>], undefined>>;
153
+ user: import("..").EndpointConfig<"/v1/pv/sync/pull/user", import("valibot").ObjectSchema<{
154
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
155
+ readonly cookie: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
156
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
157
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
158
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
159
+ }, undefined>, import("valibot").ObjectSchema<{
160
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
161
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
162
+ }, undefined>, import("valibot").ObjectSchema<{
163
+ readonly data: import("valibot").ObjectSchema<{
164
+ readonly cookie: import("valibot").NumberSchema<undefined>;
165
+ readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
166
+ readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
167
+ readonly op: import("valibot").LiteralSchema<"clear", undefined>;
168
+ }, undefined>, import("valibot").ObjectSchema<{
169
+ readonly key: import("valibot").StringSchema<undefined>;
170
+ readonly op: import("valibot").LiteralSchema<"del", undefined>;
171
+ }, undefined>, import("valibot").ObjectSchema<{
172
+ readonly key: import("valibot").StringSchema<undefined>;
173
+ readonly op: import("valibot").LiteralSchema<"put", undefined>;
174
+ readonly value: import("valibot").ObjectSchema<{
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>;
176
+ readonly settings: import("valibot").ObjectSchema<{
177
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
178
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
179
+ }, undefined>;
180
+ }, undefined>;
181
+ }, undefined>], undefined>, undefined>;
182
+ }, undefined>;
183
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
184
+ }, undefined>], undefined>>;
153
185
  };
154
186
  push: {
155
187
  account: import("..").EndpointConfig<"/v1/pv/sync/push/account", import("valibot").ObjectSchema<{
@@ -183,6 +215,51 @@ export declare const marcoSDK: {
183
215
  readonly clientID: import("valibot").StringSchema<undefined>;
184
216
  readonly id: import("valibot").NumberSchema<undefined>;
185
217
  readonly name: import("valibot").LiteralSchema<"delete", undefined>;
218
+ }, undefined>, import("valibot").ObjectSchema<{
219
+ readonly args: import("valibot").ObjectSchema<{
220
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
221
+ readonly settings: Omit<import("valibot").ObjectSchema<{
222
+ readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
223
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
224
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
225
+ }, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
226
+ readonly entries: {
227
+ 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>;
228
+ readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
229
+ readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
230
+ };
231
+ readonly '~standard': import("valibot").StandardSchemaProps<{
232
+ color?: string | undefined;
233
+ firstName?: string | null | undefined;
234
+ lastName?: string | null | undefined;
235
+ }, {
236
+ color?: string | undefined;
237
+ firstName?: string | null | undefined;
238
+ lastName?: string | null | undefined;
239
+ }>;
240
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
241
+ color?: string | undefined;
242
+ firstName?: string | null | undefined;
243
+ lastName?: string | null | undefined;
244
+ }, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue>;
245
+ readonly '~types'?: {
246
+ readonly input: {
247
+ color?: string | undefined;
248
+ firstName?: string | null | undefined;
249
+ lastName?: string | null | undefined;
250
+ };
251
+ readonly output: {
252
+ color?: string | undefined;
253
+ firstName?: string | null | undefined;
254
+ lastName?: string | null | undefined;
255
+ };
256
+ readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ObjectIssue | import("valibot").NonOptionalIssue;
257
+ } | undefined;
258
+ };
259
+ }, undefined>;
260
+ readonly clientID: import("valibot").StringSchema<undefined>;
261
+ readonly id: import("valibot").NumberSchema<undefined>;
262
+ readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
186
263
  }, undefined>], undefined>, undefined>;
187
264
  }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
188
265
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -217,6 +294,56 @@ export declare const marcoSDK: {
217
294
  }, undefined>, import("valibot").ObjectSchema<{
218
295
  readonly status: import("valibot").LiteralSchema<200, undefined>;
219
296
  }, undefined>], undefined>>;
297
+ user: import("..").EndpointConfig<"/v1/pv/sync/push/user", import("valibot").ObjectSchema<{
298
+ readonly clientGroupID: import("valibot").StringSchema<undefined>;
299
+ readonly mutations: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
300
+ readonly args: import("valibot").ObjectSchema<{
301
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
302
+ readonly settings: Omit<import("valibot").ObjectSchema<{
303
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
304
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
305
+ }, undefined>, "entries" | "~standard" | "~run" | "~types"> & {
306
+ readonly entries: {
307
+ readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
308
+ readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
309
+ };
310
+ readonly '~standard': import("valibot").StandardSchemaProps<{
311
+ firstName?: string | null | undefined;
312
+ lastName?: string | null | undefined;
313
+ }, {
314
+ firstName?: string | null | undefined;
315
+ lastName?: string | null | undefined;
316
+ }>;
317
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
318
+ firstName?: string | null | undefined;
319
+ lastName?: string | null | undefined;
320
+ }, import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue>;
321
+ readonly '~types'?: {
322
+ readonly input: {
323
+ firstName?: string | null | undefined;
324
+ lastName?: string | null | undefined;
325
+ };
326
+ readonly output: {
327
+ firstName?: string | null | undefined;
328
+ lastName?: string | null | undefined;
329
+ };
330
+ readonly issue: import("valibot").StringIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").ObjectIssue;
331
+ } | undefined;
332
+ };
333
+ }, undefined>;
334
+ readonly clientID: import("valibot").StringSchema<undefined>;
335
+ readonly id: import("valibot").NumberSchema<undefined>;
336
+ readonly name: import("valibot").LiteralSchema<"setSettings", undefined>;
337
+ }, undefined>], undefined>, undefined>;
338
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
339
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
340
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
341
+ }, undefined>, import("valibot").ObjectSchema<{
342
+ readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
343
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
344
+ }, undefined>, import("valibot").ObjectSchema<{
345
+ readonly status: import("valibot").LiteralSchema<200, undefined>;
346
+ }, undefined>], undefined>>;
220
347
  };
221
348
  };
222
349
  user: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.156",
3
+ "version": "2.0.158",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",