@marcoappio/marco-config 2.0.207 → 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.
Files changed (29) hide show
  1. package/dist/sdk/endpoints/index.d.ts +17 -2
  2. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  3. package/dist/sdk/endpoints/private/index.d.ts +17 -2
  4. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  5. package/dist/sdk/endpoints/private/sync/index.d.ts +17 -2
  6. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  7. package/dist/sdk/endpoints/private/sync/push/account.d.ts +5 -0
  8. package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
  9. package/dist/sdk/endpoints/private/sync/push/account.js +1 -0
  10. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +5 -0
  11. package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
  12. package/dist/sdk/endpoints/private/sync/push/draft.js +1 -0
  13. package/dist/sdk/endpoints/private/sync/push/index.d.ts +17 -2
  14. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
  15. package/dist/sdk/endpoints/private/sync/push/thread.d.ts +2 -2
  16. package/dist/sdk/endpoints/private/sync/push/thread.js +1 -1
  17. package/dist/sdk/endpoints/private/sync/push/user.d.ts +5 -0
  18. package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
  19. package/dist/sdk/endpoints/private/sync/push/user.js +1 -0
  20. package/dist/sdk/index.d.ts +23 -2
  21. package/dist/sdk/index.d.ts.map +1 -1
  22. package/dist/sdk/validation/errors.d.ts +12 -0
  23. package/dist/sdk/validation/errors.d.ts.map +1 -1
  24. package/dist/sdk/validation/errors.js +5 -0
  25. package/dist/sdk/validation/index.d.ts +6 -0
  26. package/dist/sdk/validation/index.d.ts.map +1 -1
  27. package/dist/types/SDKError.d.ts +1 -1
  28. package/dist/types/SDKError.d.ts.map +1 -1
  29. package/package.json +1 -1
@@ -378,6 +378,11 @@ export declare const endpoints: {
378
378
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
379
379
  }, undefined>;
380
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>;
381
386
  }, undefined>, import("valibot").ObjectSchema<{
382
387
  readonly status: import("valibot").LiteralSchema<200, undefined>;
383
388
  }, undefined>], undefined>>;
@@ -505,6 +510,11 @@ export declare const endpoints: {
505
510
  }, undefined>;
506
511
  }, undefined>;
507
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>;
508
518
  }, undefined>, import("valibot").ObjectSchema<{
509
519
  readonly data: import("valibot").ObjectSchema<{
510
520
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
@@ -564,9 +574,9 @@ export declare const endpoints: {
564
574
  readonly status: import("valibot").LiteralSchema<401, undefined>;
565
575
  }, undefined>, import("valibot").ObjectSchema<{
566
576
  readonly data: import("valibot").ObjectSchema<{
567
- readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
577
+ readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
568
578
  }, undefined>;
569
- readonly status: import("valibot").LiteralSchema<404, undefined>;
579
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
570
580
  }, undefined>, import("valibot").ObjectSchema<{
571
581
  readonly status: import("valibot").LiteralSchema<200, undefined>;
572
582
  }, undefined>], undefined>>;
@@ -619,6 +629,11 @@ export declare const endpoints: {
619
629
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
620
630
  }, undefined>;
621
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>;
622
637
  }, undefined>, import("valibot").ObjectSchema<{
623
638
  readonly status: import("valibot").LiteralSchema<200, undefined>;
624
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -375,6 +375,11 @@ export declare const privateGroup: {
375
375
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
376
376
  }, undefined>;
377
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>;
378
383
  }, undefined>, import("valibot").ObjectSchema<{
379
384
  readonly status: import("valibot").LiteralSchema<200, undefined>;
380
385
  }, undefined>], undefined>>;
@@ -502,6 +507,11 @@ export declare const privateGroup: {
502
507
  }, undefined>;
503
508
  }, undefined>;
504
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>;
505
515
  }, undefined>, import("valibot").ObjectSchema<{
506
516
  readonly data: import("valibot").ObjectSchema<{
507
517
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
@@ -561,9 +571,9 @@ export declare const privateGroup: {
561
571
  readonly status: import("valibot").LiteralSchema<401, undefined>;
562
572
  }, undefined>, import("valibot").ObjectSchema<{
563
573
  readonly data: import("valibot").ObjectSchema<{
564
- readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
574
+ readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
565
575
  }, undefined>;
566
- readonly status: import("valibot").LiteralSchema<404, undefined>;
576
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
567
577
  }, undefined>, import("valibot").ObjectSchema<{
568
578
  readonly status: import("valibot").LiteralSchema<200, undefined>;
569
579
  }, undefined>], undefined>>;
@@ -616,6 +626,11 @@ export declare const privateGroup: {
616
626
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
617
627
  }, undefined>;
618
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>;
619
634
  }, undefined>, import("valibot").ObjectSchema<{
620
635
  readonly status: import("valibot").LiteralSchema<200, undefined>;
621
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
@@ -356,6 +356,11 @@ export declare const sync: {
356
356
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
357
357
  }, undefined>;
358
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>;
359
364
  }, undefined>, import("valibot").ObjectSchema<{
360
365
  readonly status: import("valibot").LiteralSchema<200, undefined>;
361
366
  }, undefined>], undefined>>;
@@ -483,6 +488,11 @@ export declare const sync: {
483
488
  }, undefined>;
484
489
  }, undefined>;
485
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>;
486
496
  }, undefined>, import("valibot").ObjectSchema<{
487
497
  readonly data: import("valibot").ObjectSchema<{
488
498
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
@@ -542,9 +552,9 @@ export declare const sync: {
542
552
  readonly status: import("valibot").LiteralSchema<401, undefined>;
543
553
  }, undefined>, import("valibot").ObjectSchema<{
544
554
  readonly data: import("valibot").ObjectSchema<{
545
- readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
555
+ readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
546
556
  }, undefined>;
547
- readonly status: import("valibot").LiteralSchema<404, undefined>;
557
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
548
558
  }, undefined>, import("valibot").ObjectSchema<{
549
559
  readonly status: import("valibot").LiteralSchema<200, undefined>;
550
560
  }, undefined>], undefined>>;
@@ -597,6 +607,11 @@ export declare const sync: {
597
607
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
598
608
  }, undefined>;
599
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>;
600
615
  }, undefined>, import("valibot").ObjectSchema<{
601
616
  readonly status: import("valibot").LiteralSchema<200, undefined>;
602
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyC1B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA0C1B,CAAA"}
@@ -37,6 +37,7 @@ export const syncPushAccount = createEndpoint({
37
37
  response: v.union([
38
38
  errors.validationFailedErrorSchema,
39
39
  errors.authFailedErrorSchema,
40
+ errors.mutationDriftErrorSchema,
40
41
  v.object({ status: v.literal(200) }),
41
42
  ]),
42
43
  });
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAqDxB,CAAA"}
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"}
@@ -48,6 +48,7 @@ export const syncPushDraft = createEndpoint({
48
48
  path: draft.pushURL,
49
49
  response: v.union([
50
50
  errors.validationFailedErrorSchema,
51
+ errors.mutationDriftErrorSchema,
51
52
  errors.authFailedErrorSchema,
52
53
  v.object({ status: v.literal(200) }),
53
54
  ]),
@@ -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<"MESSAGE_NOT_FOUND", undefined>;
286
+ readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
277
287
  }, undefined>;
278
- readonly status: import("valibot").LiteralSchema<404, undefined>;
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>>;
@@ -328,6 +338,11 @@ export declare const push: {
328
338
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
329
339
  }, undefined>;
330
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>;
331
346
  }, undefined>, import("valibot").ObjectSchema<{
332
347
  readonly status: import("valibot").LiteralSchema<200, undefined>;
333
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
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<"MESSAGE_NOT_FOUND", undefined>;
53
+ readonly code: v.LiteralSchema<"MUTATION_DRIFT", undefined>;
54
54
  }, undefined>;
55
- readonly status: v.LiteralSchema<404, undefined>;
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.messageNotFoundErrorSchema,
40
+ errors.mutationDriftErrorSchema,
41
41
  v.object({ status: v.literal(200) }),
42
42
  ]),
43
43
  });
@@ -48,6 +48,11 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
48
48
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
49
49
  }, undefined>;
50
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>;
51
56
  }, undefined>, v.ObjectSchema<{
52
57
  readonly status: v.LiteralSchema<200, undefined>;
53
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBvB,CAAA"}
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"}
@@ -19,6 +19,7 @@ export const syncPushUser = createEndpoint({
19
19
  response: v.union([
20
20
  errors.validationFailedErrorSchema,
21
21
  errors.authFailedErrorSchema,
22
+ errors.mutationDriftErrorSchema,
22
23
  v.object({ status: v.literal(200) }),
23
24
  ]),
24
25
  });
@@ -377,6 +377,11 @@ export declare const marcoSDK: {
377
377
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
378
378
  }, undefined>;
379
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>;
380
385
  }, undefined>, import("valibot").ObjectSchema<{
381
386
  readonly status: import("valibot").LiteralSchema<200, undefined>;
382
387
  }, undefined>], undefined>>;
@@ -504,6 +509,11 @@ export declare const marcoSDK: {
504
509
  }, undefined>;
505
510
  }, undefined>;
506
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>;
507
517
  }, undefined>, import("valibot").ObjectSchema<{
508
518
  readonly data: import("valibot").ObjectSchema<{
509
519
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
@@ -563,9 +573,9 @@ export declare const marcoSDK: {
563
573
  readonly status: import("valibot").LiteralSchema<401, undefined>;
564
574
  }, undefined>, import("valibot").ObjectSchema<{
565
575
  readonly data: import("valibot").ObjectSchema<{
566
- readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
576
+ readonly code: import("valibot").LiteralSchema<"MUTATION_DRIFT", undefined>;
567
577
  }, undefined>;
568
- readonly status: import("valibot").LiteralSchema<404, undefined>;
578
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
569
579
  }, undefined>, import("valibot").ObjectSchema<{
570
580
  readonly status: import("valibot").LiteralSchema<200, undefined>;
571
581
  }, undefined>], undefined>>;
@@ -618,6 +628,11 @@ export declare const marcoSDK: {
618
628
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
619
629
  }, undefined>;
620
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>;
621
636
  }, undefined>, import("valibot").ObjectSchema<{
622
637
  readonly status: import("valibot").LiteralSchema<200, undefined>;
623
638
  }, undefined>], undefined>>;
@@ -803,6 +818,12 @@ export declare const marcoSDK: {
803
818
  }, undefined>;
804
819
  readonly status: import("valibot").LiteralSchema<404, undefined>;
805
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>;
806
827
  readonly userNotFoundErrorSchema: import("valibot").ObjectSchema<{
807
828
  readonly data: import("valibot").ObjectSchema<{
808
829
  readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
@@ -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"}
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUT,CAAA"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
@@ -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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
3
  "packageManager": "bun@1.2.0",
4
- "version": "2.0.207",
4
+ "version": "2.0.208",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",