@marcoappio/marco-config 2.0.206 → 2.0.208
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/index.d.ts +8 -16
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/user.d.ts +8 -16
- package/dist/clients/user.d.ts.map +1 -1
- package/dist/clients/user.js +1 -2
- package/dist/sdk/endpoints/index.d.ts +25 -18
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +25 -18
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +25 -18
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +1 -2
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +1 -2
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +5 -0
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.js +1 -0
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +5 -0
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +1 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +24 -16
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/thread.js +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +12 -14
- package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.js +1 -0
- package/dist/sdk/index.d.ts +31 -18
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +12 -0
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +5 -0
- package/dist/sdk/validation/index.d.ts +6 -0
- package/dist/sdk/validation/index.d.ts.map +1 -1
- package/dist/types/SDKError.d.ts +1 -1
- package/dist/types/SDKError.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/clients/index.d.ts
CHANGED
|
@@ -300,8 +300,7 @@ export declare const marcoClients: {
|
|
|
300
300
|
model: import("valibot").ObjectSchema<{
|
|
301
301
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
302
302
|
readonly settings: import("valibot").ObjectSchema<{
|
|
303
|
-
readonly
|
|
304
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
303
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
305
304
|
}, undefined>;
|
|
306
305
|
}, undefined>;
|
|
307
306
|
mutators: {
|
|
@@ -309,32 +308,25 @@ export declare const marcoClients: {
|
|
|
309
308
|
delta: import("valibot").ObjectSchema<{
|
|
310
309
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
311
310
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
312
|
-
readonly
|
|
313
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
311
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
314
312
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
315
313
|
readonly entries: {
|
|
316
|
-
readonly
|
|
317
|
-
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
314
|
+
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
318
315
|
};
|
|
319
316
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
320
|
-
|
|
321
|
-
lastName?: string | null | undefined;
|
|
317
|
+
name?: string | null | undefined;
|
|
322
318
|
}, {
|
|
323
|
-
|
|
324
|
-
lastName?: string | null | undefined;
|
|
319
|
+
name?: string | null | undefined;
|
|
325
320
|
}>;
|
|
326
321
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
327
|
-
|
|
328
|
-
lastName?: string | null | undefined;
|
|
322
|
+
name?: string | null | undefined;
|
|
329
323
|
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>>;
|
|
330
324
|
readonly '~types'?: {
|
|
331
325
|
readonly input: {
|
|
332
|
-
|
|
333
|
-
lastName?: string | null | undefined;
|
|
326
|
+
name?: string | null | undefined;
|
|
334
327
|
};
|
|
335
328
|
readonly output: {
|
|
336
|
-
|
|
337
|
-
lastName?: string | null | undefined;
|
|
329
|
+
name?: string | null | undefined;
|
|
338
330
|
};
|
|
339
331
|
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>;
|
|
340
332
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMc,CAAA"}
|
package/dist/clients/user.d.ts
CHANGED
|
@@ -3,8 +3,7 @@ export declare const user: {
|
|
|
3
3
|
model: v.ObjectSchema<{
|
|
4
4
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
readonly settings: v.ObjectSchema<{
|
|
6
|
-
readonly
|
|
7
|
-
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
6
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
7
|
}, undefined>;
|
|
9
8
|
}, undefined>;
|
|
10
9
|
mutators: {
|
|
@@ -12,32 +11,25 @@ export declare const user: {
|
|
|
12
11
|
delta: v.ObjectSchema<{
|
|
13
12
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
14
13
|
readonly settings: Omit<v.ObjectSchema<{
|
|
15
|
-
readonly
|
|
16
|
-
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
14
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
15
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
18
16
|
readonly entries: {
|
|
19
|
-
readonly
|
|
20
|
-
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
17
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
21
18
|
};
|
|
22
19
|
readonly '~standard': v.StandardSchemaProps<{
|
|
23
|
-
|
|
24
|
-
lastName?: string | null | undefined;
|
|
20
|
+
name?: string | null | undefined;
|
|
25
21
|
}, {
|
|
26
|
-
|
|
27
|
-
lastName?: string | null | undefined;
|
|
22
|
+
name?: string | null | undefined;
|
|
28
23
|
}>;
|
|
29
24
|
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
30
|
-
|
|
31
|
-
lastName?: string | null | undefined;
|
|
25
|
+
name?: string | null | undefined;
|
|
32
26
|
}, v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, number>>;
|
|
33
27
|
readonly '~types'?: {
|
|
34
28
|
readonly input: {
|
|
35
|
-
|
|
36
|
-
lastName?: string | null | undefined;
|
|
29
|
+
name?: string | null | undefined;
|
|
37
30
|
};
|
|
38
31
|
readonly output: {
|
|
39
|
-
|
|
40
|
-
lastName?: string | null | undefined;
|
|
32
|
+
name?: string | null | undefined;
|
|
41
33
|
};
|
|
42
34
|
readonly issue: v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, number>;
|
|
43
35
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/clients/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/clients/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAS5B,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBM,CAAA"}
|
package/dist/clients/user.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { marcoSchemas } from '../schemas';
|
|
3
3
|
const userSettings = v.object({
|
|
4
|
-
|
|
5
|
-
lastName: marcoSchemas.string.nullable(),
|
|
4
|
+
name: marcoSchemas.string.nullable(),
|
|
6
5
|
});
|
|
7
6
|
export const user = {
|
|
8
7
|
model: v.object({
|
|
@@ -281,8 +281,7 @@ export declare const endpoints: {
|
|
|
281
281
|
readonly value: import("valibot").ObjectSchema<{
|
|
282
282
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
283
283
|
readonly settings: import("valibot").ObjectSchema<{
|
|
284
|
-
readonly
|
|
285
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
284
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
286
285
|
}, undefined>;
|
|
287
286
|
}, undefined>;
|
|
288
287
|
}, undefined>], undefined>, undefined>;
|
|
@@ -379,6 +378,11 @@ export declare const endpoints: {
|
|
|
379
378
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
380
379
|
}, undefined>;
|
|
381
380
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
381
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
382
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
383
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
384
|
+
}, undefined>;
|
|
385
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
382
386
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
383
387
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
384
388
|
}, undefined>], undefined>>;
|
|
@@ -506,6 +510,11 @@ export declare const endpoints: {
|
|
|
506
510
|
}, undefined>;
|
|
507
511
|
}, undefined>;
|
|
508
512
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
513
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
514
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
515
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
516
|
+
}, undefined>;
|
|
517
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
509
518
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
510
519
|
readonly data: import("valibot").ObjectSchema<{
|
|
511
520
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -565,9 +574,9 @@ export declare const endpoints: {
|
|
|
565
574
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
566
575
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
567
576
|
readonly data: import("valibot").ObjectSchema<{
|
|
568
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
577
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
569
578
|
}, undefined>;
|
|
570
|
-
readonly status: import("valibot").LiteralSchema<
|
|
579
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
571
580
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
572
581
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
573
582
|
}, undefined>], undefined>>;
|
|
@@ -577,32 +586,25 @@ export declare const endpoints: {
|
|
|
577
586
|
readonly args: import("valibot").ObjectSchema<{
|
|
578
587
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
579
588
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
580
|
-
readonly
|
|
581
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
589
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
582
590
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
583
591
|
readonly entries: {
|
|
584
|
-
readonly
|
|
585
|
-
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
592
|
+
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
586
593
|
};
|
|
587
594
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
588
|
-
|
|
589
|
-
lastName?: string | null | undefined;
|
|
595
|
+
name?: string | null | undefined;
|
|
590
596
|
}, {
|
|
591
|
-
|
|
592
|
-
lastName?: string | null | undefined;
|
|
597
|
+
name?: string | null | undefined;
|
|
593
598
|
}>;
|
|
594
599
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
595
|
-
|
|
596
|
-
lastName?: string | null | undefined;
|
|
600
|
+
name?: string | null | undefined;
|
|
597
601
|
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>>;
|
|
598
602
|
readonly '~types'?: {
|
|
599
603
|
readonly input: {
|
|
600
|
-
|
|
601
|
-
lastName?: string | null | undefined;
|
|
604
|
+
name?: string | null | undefined;
|
|
602
605
|
};
|
|
603
606
|
readonly output: {
|
|
604
|
-
|
|
605
|
-
lastName?: string | null | undefined;
|
|
607
|
+
name?: string | null | undefined;
|
|
606
608
|
};
|
|
607
609
|
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>;
|
|
608
610
|
} | undefined;
|
|
@@ -627,6 +629,11 @@ export declare const endpoints: {
|
|
|
627
629
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
628
630
|
}, undefined>;
|
|
629
631
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
632
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
633
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
634
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
635
|
+
}, undefined>;
|
|
636
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
630
637
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
631
638
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
632
639
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,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,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -278,8 +278,7 @@ export declare const privateGroup: {
|
|
|
278
278
|
readonly value: import("valibot").ObjectSchema<{
|
|
279
279
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
280
280
|
readonly settings: import("valibot").ObjectSchema<{
|
|
281
|
-
readonly
|
|
282
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
281
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
283
282
|
}, undefined>;
|
|
284
283
|
}, undefined>;
|
|
285
284
|
}, undefined>], undefined>, undefined>;
|
|
@@ -376,6 +375,11 @@ export declare const privateGroup: {
|
|
|
376
375
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
377
376
|
}, undefined>;
|
|
378
377
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
378
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
379
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
380
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
381
|
+
}, undefined>;
|
|
382
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
379
383
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
380
384
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
381
385
|
}, undefined>], undefined>>;
|
|
@@ -503,6 +507,11 @@ export declare const privateGroup: {
|
|
|
503
507
|
}, undefined>;
|
|
504
508
|
}, undefined>;
|
|
505
509
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
510
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
511
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
512
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
513
|
+
}, undefined>;
|
|
514
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
506
515
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
507
516
|
readonly data: import("valibot").ObjectSchema<{
|
|
508
517
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -562,9 +571,9 @@ export declare const privateGroup: {
|
|
|
562
571
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
563
572
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
564
573
|
readonly data: import("valibot").ObjectSchema<{
|
|
565
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
574
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
566
575
|
}, undefined>;
|
|
567
|
-
readonly status: import("valibot").LiteralSchema<
|
|
576
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
568
577
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
569
578
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
570
579
|
}, undefined>], undefined>>;
|
|
@@ -574,32 +583,25 @@ export declare const privateGroup: {
|
|
|
574
583
|
readonly args: import("valibot").ObjectSchema<{
|
|
575
584
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
576
585
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
577
|
-
readonly
|
|
578
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
586
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
579
587
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
580
588
|
readonly entries: {
|
|
581
|
-
readonly
|
|
582
|
-
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
589
|
+
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
583
590
|
};
|
|
584
591
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
585
|
-
|
|
586
|
-
lastName?: string | null | undefined;
|
|
592
|
+
name?: string | null | undefined;
|
|
587
593
|
}, {
|
|
588
|
-
|
|
589
|
-
lastName?: string | null | undefined;
|
|
594
|
+
name?: string | null | undefined;
|
|
590
595
|
}>;
|
|
591
596
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
592
|
-
|
|
593
|
-
lastName?: string | null | undefined;
|
|
597
|
+
name?: string | null | undefined;
|
|
594
598
|
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>>;
|
|
595
599
|
readonly '~types'?: {
|
|
596
600
|
readonly input: {
|
|
597
|
-
|
|
598
|
-
lastName?: string | null | undefined;
|
|
601
|
+
name?: string | null | undefined;
|
|
599
602
|
};
|
|
600
603
|
readonly output: {
|
|
601
|
-
|
|
602
|
-
lastName?: string | null | undefined;
|
|
604
|
+
name?: string | null | undefined;
|
|
603
605
|
};
|
|
604
606
|
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>;
|
|
605
607
|
} | undefined;
|
|
@@ -624,6 +626,11 @@ export declare const privateGroup: {
|
|
|
624
626
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
625
627
|
}, undefined>;
|
|
626
628
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
629
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
630
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
631
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
632
|
+
}, undefined>;
|
|
633
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
627
634
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
628
635
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
629
636
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
|
|
@@ -259,8 +259,7 @@ export declare const sync: {
|
|
|
259
259
|
readonly value: import("valibot").ObjectSchema<{
|
|
260
260
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
261
261
|
readonly settings: import("valibot").ObjectSchema<{
|
|
262
|
-
readonly
|
|
263
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
262
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
264
263
|
}, undefined>;
|
|
265
264
|
}, undefined>;
|
|
266
265
|
}, undefined>], undefined>, undefined>;
|
|
@@ -357,6 +356,11 @@ export declare const sync: {
|
|
|
357
356
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
358
357
|
}, undefined>;
|
|
359
358
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
359
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
360
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
361
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
362
|
+
}, undefined>;
|
|
363
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
360
364
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
361
365
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
362
366
|
}, undefined>], undefined>>;
|
|
@@ -484,6 +488,11 @@ export declare const sync: {
|
|
|
484
488
|
}, undefined>;
|
|
485
489
|
}, undefined>;
|
|
486
490
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
491
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
492
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
493
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
494
|
+
}, undefined>;
|
|
495
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
487
496
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
488
497
|
readonly data: import("valibot").ObjectSchema<{
|
|
489
498
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -543,9 +552,9 @@ export declare const sync: {
|
|
|
543
552
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
544
553
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
545
554
|
readonly data: import("valibot").ObjectSchema<{
|
|
546
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
555
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
547
556
|
}, undefined>;
|
|
548
|
-
readonly status: import("valibot").LiteralSchema<
|
|
557
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
549
558
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
550
559
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
551
560
|
}, undefined>], undefined>>;
|
|
@@ -555,32 +564,25 @@ export declare const sync: {
|
|
|
555
564
|
readonly args: import("valibot").ObjectSchema<{
|
|
556
565
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
557
566
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
558
|
-
readonly
|
|
559
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
567
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
560
568
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
561
569
|
readonly entries: {
|
|
562
|
-
readonly
|
|
563
|
-
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
570
|
+
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
564
571
|
};
|
|
565
572
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
566
|
-
|
|
567
|
-
lastName?: string | null | undefined;
|
|
573
|
+
name?: string | null | undefined;
|
|
568
574
|
}, {
|
|
569
|
-
|
|
570
|
-
lastName?: string | null | undefined;
|
|
575
|
+
name?: string | null | undefined;
|
|
571
576
|
}>;
|
|
572
577
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
573
|
-
|
|
574
|
-
lastName?: string | null | undefined;
|
|
578
|
+
name?: string | null | undefined;
|
|
575
579
|
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>>;
|
|
576
580
|
readonly '~types'?: {
|
|
577
581
|
readonly input: {
|
|
578
|
-
|
|
579
|
-
lastName?: string | null | undefined;
|
|
582
|
+
name?: string | null | undefined;
|
|
580
583
|
};
|
|
581
584
|
readonly output: {
|
|
582
|
-
|
|
583
|
-
lastName?: string | null | undefined;
|
|
585
|
+
name?: string | null | undefined;
|
|
584
586
|
};
|
|
585
587
|
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>;
|
|
586
588
|
} | undefined;
|
|
@@ -605,6 +607,11 @@ export declare const sync: {
|
|
|
605
607
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
606
608
|
}, undefined>;
|
|
607
609
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
610
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
611
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
612
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
613
|
+
}, undefined>;
|
|
614
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
608
615
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
609
616
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
610
617
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -258,8 +258,7 @@ export declare const pull: {
|
|
|
258
258
|
readonly value: import("valibot").ObjectSchema<{
|
|
259
259
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
260
260
|
readonly settings: import("valibot").ObjectSchema<{
|
|
261
|
-
readonly
|
|
262
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
261
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
263
262
|
}, undefined>;
|
|
264
263
|
}, undefined>;
|
|
265
264
|
}, undefined>], undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
|
|
@@ -32,8 +32,7 @@ export declare const syncPullUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
32
32
|
readonly value: v.ObjectSchema<{
|
|
33
33
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
34
34
|
readonly settings: v.ObjectSchema<{
|
|
35
|
-
readonly
|
|
36
|
-
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
35
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
37
36
|
}, undefined>;
|
|
38
37
|
}, undefined>;
|
|
39
38
|
}, undefined>], undefined>, undefined>;
|
|
@@ -1 +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
|
|
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"}
|
|
@@ -87,6 +87,11 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
87
87
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
88
88
|
}, undefined>;
|
|
89
89
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
90
|
+
}, undefined>, v.ObjectSchema<{
|
|
91
|
+
readonly data: v.ObjectSchema<{
|
|
92
|
+
readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
93
|
+
}, undefined>;
|
|
94
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
90
95
|
}, undefined>, v.ObjectSchema<{
|
|
91
96
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
92
97
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA0C1B,CAAA"}
|
|
@@ -123,6 +123,11 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
123
123
|
}, undefined>;
|
|
124
124
|
}, undefined>;
|
|
125
125
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
126
|
+
}, undefined>, v.ObjectSchema<{
|
|
127
|
+
readonly data: v.ObjectSchema<{
|
|
128
|
+
readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
129
|
+
}, undefined>;
|
|
130
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
126
131
|
}, undefined>, v.ObjectSchema<{
|
|
127
132
|
readonly data: v.ObjectSchema<{
|
|
128
133
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAsDxB,CAAA"}
|
|
@@ -87,6 +87,11 @@ export declare const push: {
|
|
|
87
87
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
88
88
|
}, undefined>;
|
|
89
89
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
90
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
91
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
92
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
93
|
+
}, undefined>;
|
|
94
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
90
95
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
91
96
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
92
97
|
}, undefined>], undefined>>;
|
|
@@ -214,6 +219,11 @@ export declare const push: {
|
|
|
214
219
|
}, undefined>;
|
|
215
220
|
}, undefined>;
|
|
216
221
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
222
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
223
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
224
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
225
|
+
}, undefined>;
|
|
226
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
217
227
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
218
228
|
readonly data: import("valibot").ObjectSchema<{
|
|
219
229
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -273,9 +283,9 @@ export declare const push: {
|
|
|
273
283
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
274
284
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
275
285
|
readonly data: import("valibot").ObjectSchema<{
|
|
276
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
286
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
277
287
|
}, undefined>;
|
|
278
|
-
readonly status: import("valibot").LiteralSchema<
|
|
288
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
279
289
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
280
290
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
281
291
|
}, undefined>], undefined>>;
|
|
@@ -285,32 +295,25 @@ export declare const push: {
|
|
|
285
295
|
readonly args: import("valibot").ObjectSchema<{
|
|
286
296
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
287
297
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
288
|
-
readonly
|
|
289
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
298
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
290
299
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
291
300
|
readonly entries: {
|
|
292
|
-
readonly
|
|
293
|
-
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
301
|
+
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
294
302
|
};
|
|
295
303
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
296
|
-
|
|
297
|
-
lastName?: string | null | undefined;
|
|
304
|
+
name?: string | null | undefined;
|
|
298
305
|
}, {
|
|
299
|
-
|
|
300
|
-
lastName?: string | null | undefined;
|
|
306
|
+
name?: string | null | undefined;
|
|
301
307
|
}>;
|
|
302
308
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
303
|
-
|
|
304
|
-
lastName?: string | null | undefined;
|
|
309
|
+
name?: string | null | undefined;
|
|
305
310
|
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>>;
|
|
306
311
|
readonly '~types'?: {
|
|
307
312
|
readonly input: {
|
|
308
|
-
|
|
309
|
-
lastName?: string | null | undefined;
|
|
313
|
+
name?: string | null | undefined;
|
|
310
314
|
};
|
|
311
315
|
readonly output: {
|
|
312
|
-
|
|
313
|
-
lastName?: string | null | undefined;
|
|
316
|
+
name?: string | null | undefined;
|
|
314
317
|
};
|
|
315
318
|
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>;
|
|
316
319
|
} | undefined;
|
|
@@ -335,6 +338,11 @@ export declare const push: {
|
|
|
335
338
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
336
339
|
}, undefined>;
|
|
337
340
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
341
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
342
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
343
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
344
|
+
}, undefined>;
|
|
345
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
338
346
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
339
347
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
340
348
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
|
|
@@ -50,9 +50,9 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
|
|
|
50
50
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
51
51
|
}, undefined>, v.ObjectSchema<{
|
|
52
52
|
readonly data: v.ObjectSchema<{
|
|
53
|
-
readonly code: v.LiteralSchema<"
|
|
53
|
+
readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
54
54
|
}, undefined>;
|
|
55
|
-
readonly status: v.LiteralSchema<
|
|
55
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
56
56
|
}, undefined>, v.ObjectSchema<{
|
|
57
57
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
58
58
|
}, undefined>], undefined>>;
|
|
@@ -37,7 +37,7 @@ export const syncPushThread = createEndpoint({
|
|
|
37
37
|
response: v.union([
|
|
38
38
|
errors.validationFailedErrorSchema,
|
|
39
39
|
errors.authFailedErrorSchema,
|
|
40
|
-
errors.
|
|
40
|
+
errors.mutationDriftErrorSchema,
|
|
41
41
|
v.object({ status: v.literal(200) }),
|
|
42
42
|
]),
|
|
43
43
|
});
|
|
@@ -5,32 +5,25 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
5
5
|
readonly args: v.ObjectSchema<{
|
|
6
6
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
7
|
readonly settings: Omit<v.ObjectSchema<{
|
|
8
|
-
readonly
|
|
9
|
-
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
|
+
readonly name: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
10
9
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
11
10
|
readonly entries: {
|
|
12
|
-
readonly
|
|
13
|
-
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
11
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
14
12
|
};
|
|
15
13
|
readonly '~standard': v.StandardSchemaProps<{
|
|
16
|
-
|
|
17
|
-
lastName?: string | null | undefined;
|
|
14
|
+
name?: string | null | undefined;
|
|
18
15
|
}, {
|
|
19
|
-
|
|
20
|
-
lastName?: string | null | undefined;
|
|
16
|
+
name?: string | null | undefined;
|
|
21
17
|
}>;
|
|
22
18
|
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
23
|
-
|
|
24
|
-
lastName?: string | null | undefined;
|
|
19
|
+
name?: string | null | undefined;
|
|
25
20
|
}, v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, number>>;
|
|
26
21
|
readonly '~types'?: {
|
|
27
22
|
readonly input: {
|
|
28
|
-
|
|
29
|
-
lastName?: string | null | undefined;
|
|
23
|
+
name?: string | null | undefined;
|
|
30
24
|
};
|
|
31
25
|
readonly output: {
|
|
32
|
-
|
|
33
|
-
lastName?: string | null | undefined;
|
|
26
|
+
name?: string | null | undefined;
|
|
34
27
|
};
|
|
35
28
|
readonly issue: v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, number>;
|
|
36
29
|
} | undefined;
|
|
@@ -55,6 +48,11 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
55
48
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
56
49
|
}, undefined>;
|
|
57
50
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
51
|
+
}, undefined>, v.ObjectSchema<{
|
|
52
|
+
readonly data: v.ObjectSchema<{
|
|
53
|
+
readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
54
|
+
}, undefined>;
|
|
55
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
58
56
|
}, undefined>, v.ObjectSchema<{
|
|
59
57
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
60
58
|
}, undefined>], undefined>>;
|
|
@@ -1 +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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwBvB,CAAA"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -280,8 +280,7 @@ export declare const marcoSDK: {
|
|
|
280
280
|
readonly value: import("valibot").ObjectSchema<{
|
|
281
281
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
282
282
|
readonly settings: import("valibot").ObjectSchema<{
|
|
283
|
-
readonly
|
|
284
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
283
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
285
284
|
}, undefined>;
|
|
286
285
|
}, undefined>;
|
|
287
286
|
}, undefined>], undefined>, undefined>;
|
|
@@ -378,6 +377,11 @@ export declare const marcoSDK: {
|
|
|
378
377
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
379
378
|
}, undefined>;
|
|
380
379
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
380
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
381
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
382
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
383
|
+
}, undefined>;
|
|
384
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
381
385
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
382
386
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
383
387
|
}, undefined>], undefined>>;
|
|
@@ -505,6 +509,11 @@ export declare const marcoSDK: {
|
|
|
505
509
|
}, undefined>;
|
|
506
510
|
}, undefined>;
|
|
507
511
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
512
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
513
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
514
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
515
|
+
}, undefined>;
|
|
516
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
508
517
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
509
518
|
readonly data: import("valibot").ObjectSchema<{
|
|
510
519
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -564,9 +573,9 @@ export declare const marcoSDK: {
|
|
|
564
573
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
565
574
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
566
575
|
readonly data: import("valibot").ObjectSchema<{
|
|
567
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
576
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
568
577
|
}, undefined>;
|
|
569
|
-
readonly status: import("valibot").LiteralSchema<
|
|
578
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
570
579
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
571
580
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
572
581
|
}, undefined>], undefined>>;
|
|
@@ -576,32 +585,25 @@ export declare const marcoSDK: {
|
|
|
576
585
|
readonly args: import("valibot").ObjectSchema<{
|
|
577
586
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
578
587
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
579
|
-
readonly
|
|
580
|
-
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
588
|
+
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
581
589
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
582
590
|
readonly entries: {
|
|
583
|
-
readonly
|
|
584
|
-
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
591
|
+
readonly name: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
585
592
|
};
|
|
586
593
|
readonly '~standard': import("valibot").StandardSchemaProps<{
|
|
587
|
-
|
|
588
|
-
lastName?: string | null | undefined;
|
|
594
|
+
name?: string | null | undefined;
|
|
589
595
|
}, {
|
|
590
|
-
|
|
591
|
-
lastName?: string | null | undefined;
|
|
596
|
+
name?: string | null | undefined;
|
|
592
597
|
}>;
|
|
593
598
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
594
|
-
|
|
595
|
-
lastName?: string | null | undefined;
|
|
599
|
+
name?: string | null | undefined;
|
|
596
600
|
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>>;
|
|
597
601
|
readonly '~types'?: {
|
|
598
602
|
readonly input: {
|
|
599
|
-
|
|
600
|
-
lastName?: string | null | undefined;
|
|
603
|
+
name?: string | null | undefined;
|
|
601
604
|
};
|
|
602
605
|
readonly output: {
|
|
603
|
-
|
|
604
|
-
lastName?: string | null | undefined;
|
|
606
|
+
name?: string | null | undefined;
|
|
605
607
|
};
|
|
606
608
|
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, number>;
|
|
607
609
|
} | undefined;
|
|
@@ -626,6 +628,11 @@ export declare const marcoSDK: {
|
|
|
626
628
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
627
629
|
}, undefined>;
|
|
628
630
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
631
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
632
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
633
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
634
|
+
}, undefined>;
|
|
635
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
629
636
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
630
637
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
631
638
|
}, undefined>], undefined>>;
|
|
@@ -811,6 +818,12 @@ export declare const marcoSDK: {
|
|
|
811
818
|
}, undefined>;
|
|
812
819
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
813
820
|
}, undefined>;
|
|
821
|
+
readonly mutationDriftErrorSchema: import("valibot").ObjectSchema<{
|
|
822
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
823
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
824
|
+
}, undefined>;
|
|
825
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
826
|
+
}, undefined>;
|
|
814
827
|
readonly userNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
815
828
|
readonly data: import("valibot").ObjectSchema<{
|
|
816
829
|
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
|
@@ -47,6 +47,12 @@ export declare const messageNotFoundErrorSchema: v.ObjectSchema<{
|
|
|
47
47
|
}, undefined>;
|
|
48
48
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
49
49
|
}, undefined>;
|
|
50
|
+
export declare const mutationDriftErrorSchema: v.ObjectSchema<{
|
|
51
|
+
readonly data: v.ObjectSchema<{
|
|
52
|
+
readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
53
|
+
}, undefined>;
|
|
54
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
55
|
+
}, undefined>;
|
|
50
56
|
export declare const validationFailedErrorSchema: v.ObjectSchema<{
|
|
51
57
|
readonly data: v.ObjectSchema<{
|
|
52
58
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -101,6 +107,12 @@ export declare const errors: {
|
|
|
101
107
|
}, undefined>;
|
|
102
108
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
103
109
|
}, undefined>;
|
|
110
|
+
readonly mutationDriftErrorSchema: v.ObjectSchema<{
|
|
111
|
+
readonly data: v.ObjectSchema<{
|
|
112
|
+
readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
113
|
+
}, undefined>;
|
|
114
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
115
|
+
}, undefined>;
|
|
104
116
|
readonly userNotFoundErrorSchema: v.ObjectSchema<{
|
|
105
117
|
readonly data: v.ObjectSchema<{
|
|
106
118
|
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWT,CAAA"}
|
|
@@ -31,6 +31,10 @@ export const messageNotFoundErrorSchema = v.object({
|
|
|
31
31
|
data: v.object({ code: v.literal('MESSAGE_NOT_FOUND') }),
|
|
32
32
|
status: v.literal(404),
|
|
33
33
|
});
|
|
34
|
+
export const mutationDriftErrorSchema = v.object({
|
|
35
|
+
data: v.object({ code: v.literal('MUTATION_DRIFT') }),
|
|
36
|
+
status: v.literal(409),
|
|
37
|
+
});
|
|
34
38
|
export const validationFailedErrorSchema = v.object({
|
|
35
39
|
data: v.object({
|
|
36
40
|
code: v.literal('VALIDATION_FAILED'),
|
|
@@ -50,6 +54,7 @@ export const errors = {
|
|
|
50
54
|
authServerResponseUnexpectedErrorSchema,
|
|
51
55
|
authTooManyAttemptsErrorSchema,
|
|
52
56
|
messageNotFoundErrorSchema,
|
|
57
|
+
mutationDriftErrorSchema,
|
|
53
58
|
userNotFoundErrorSchema,
|
|
54
59
|
validationFailedErrorSchema,
|
|
55
60
|
};
|
|
@@ -42,6 +42,12 @@ export declare const validation: {
|
|
|
42
42
|
}, undefined>;
|
|
43
43
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
44
44
|
}, undefined>;
|
|
45
|
+
readonly mutationDriftErrorSchema: import("valibot").ObjectSchema<{
|
|
46
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
47
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
|
|
48
|
+
}, undefined>;
|
|
49
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
50
|
+
}, undefined>;
|
|
45
51
|
readonly userNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
46
52
|
readonly data: import("valibot").ObjectSchema<{
|
|
47
53
|
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
|
package/dist/types/SDKError.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { errors } from '../sdk/validation/errors';
|
|
3
|
-
export type SDKError = v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema>;
|
|
3
|
+
export type SDKError = v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.mutationDriftErrorSchema>;
|
|
4
4
|
//# sourceMappingURL=SDKError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAE5D,MAAM,MAAM,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,8BAA8B,CAAC,GAC3D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,qBAAqB,CAAC,GAClD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAE5D,MAAM,MAAM,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,8BAA8B,CAAC,GAC3D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,qBAAqB,CAAC,GAClD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,CAAA"}
|
package/package.json
CHANGED