@marcoappio/marco-config 2.0.338 → 2.0.339
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/sdk/endpoints/index.d.ts +20 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +20 -0
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +20 -0
- package/dist/sdk/endpoints/private/sync/index.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 +20 -0
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +5 -0
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.js +1 -0
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +5 -0
- 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 +26 -0
- 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
|
@@ -467,6 +467,11 @@ export declare const endpoints: {
|
|
|
467
467
|
}, undefined>;
|
|
468
468
|
}, undefined>;
|
|
469
469
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
470
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
471
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
472
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
473
|
+
}, undefined>;
|
|
474
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
470
475
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
471
476
|
readonly data: import("valibot").ObjectSchema<{
|
|
472
477
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -668,6 +673,11 @@ export declare const endpoints: {
|
|
|
668
673
|
}, undefined>;
|
|
669
674
|
}, undefined>;
|
|
670
675
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
676
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
677
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
678
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
679
|
+
}, undefined>;
|
|
680
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
671
681
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
672
682
|
readonly data: import("valibot").ObjectSchema<{
|
|
673
683
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -753,6 +763,11 @@ export declare const endpoints: {
|
|
|
753
763
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
754
764
|
}, undefined>;
|
|
755
765
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
766
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
767
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
768
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
769
|
+
}, undefined>;
|
|
770
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
756
771
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
757
772
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
758
773
|
}, undefined>], undefined>>;
|
|
@@ -782,6 +797,11 @@ export declare const endpoints: {
|
|
|
782
797
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
783
798
|
}, undefined>;
|
|
784
799
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
800
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
801
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
802
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
803
|
+
}, undefined>;
|
|
804
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
785
805
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
786
806
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
787
807
|
}, 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"}
|
|
@@ -464,6 +464,11 @@ export declare const privateGroup: {
|
|
|
464
464
|
}, undefined>;
|
|
465
465
|
}, undefined>;
|
|
466
466
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
467
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
468
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
469
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
470
|
+
}, undefined>;
|
|
471
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
467
472
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
468
473
|
readonly data: import("valibot").ObjectSchema<{
|
|
469
474
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -665,6 +670,11 @@ export declare const privateGroup: {
|
|
|
665
670
|
}, undefined>;
|
|
666
671
|
}, undefined>;
|
|
667
672
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
673
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
674
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
675
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
676
|
+
}, undefined>;
|
|
677
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
668
678
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
669
679
|
readonly data: import("valibot").ObjectSchema<{
|
|
670
680
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -750,6 +760,11 @@ export declare const privateGroup: {
|
|
|
750
760
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
751
761
|
}, undefined>;
|
|
752
762
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
763
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
764
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
765
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
766
|
+
}, undefined>;
|
|
767
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
753
768
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
754
769
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
755
770
|
}, undefined>], undefined>>;
|
|
@@ -779,6 +794,11 @@ export declare const privateGroup: {
|
|
|
779
794
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
780
795
|
}, undefined>;
|
|
781
796
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
797
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
798
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
799
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
800
|
+
}, undefined>;
|
|
801
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
782
802
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
783
803
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
784
804
|
}, 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"}
|
|
@@ -431,6 +431,11 @@ export declare const sync: {
|
|
|
431
431
|
}, undefined>;
|
|
432
432
|
}, undefined>;
|
|
433
433
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
434
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
435
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
436
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
437
|
+
}, undefined>;
|
|
438
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
434
439
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
435
440
|
readonly data: import("valibot").ObjectSchema<{
|
|
436
441
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -632,6 +637,11 @@ export declare const sync: {
|
|
|
632
637
|
}, undefined>;
|
|
633
638
|
}, undefined>;
|
|
634
639
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
640
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
641
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
642
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
643
|
+
}, undefined>;
|
|
644
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
635
645
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
636
646
|
readonly data: import("valibot").ObjectSchema<{
|
|
637
647
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -717,6 +727,11 @@ export declare const sync: {
|
|
|
717
727
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
718
728
|
}, undefined>;
|
|
719
729
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
730
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
731
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
732
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
733
|
+
}, undefined>;
|
|
734
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
720
735
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
721
736
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
722
737
|
}, undefined>], undefined>>;
|
|
@@ -746,6 +761,11 @@ export declare const sync: {
|
|
|
746
761
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
747
762
|
}, undefined>;
|
|
748
763
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
764
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
765
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
766
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
767
|
+
}, undefined>;
|
|
768
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
749
769
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
750
770
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
751
771
|
}, 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"}
|
|
@@ -133,6 +133,11 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
133
133
|
}, undefined>;
|
|
134
134
|
}, undefined>;
|
|
135
135
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
136
|
+
}, undefined>, v.ObjectSchema<{
|
|
137
|
+
readonly data: v.ObjectSchema<{
|
|
138
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
139
|
+
}, undefined>;
|
|
140
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
136
141
|
}, undefined>, v.ObjectSchema<{
|
|
137
142
|
readonly data: v.ObjectSchema<{
|
|
138
143
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwE1B,CAAA"}
|
|
@@ -192,6 +192,11 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
192
192
|
}, undefined>;
|
|
193
193
|
}, undefined>;
|
|
194
194
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
195
|
+
}, undefined>, v.ObjectSchema<{
|
|
196
|
+
readonly data: v.ObjectSchema<{
|
|
197
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
198
|
+
}, undefined>;
|
|
199
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
195
200
|
}, undefined>, v.ObjectSchema<{
|
|
196
201
|
readonly data: v.ObjectSchema<{
|
|
197
202
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoFxB,CAAA"}
|
|
@@ -133,6 +133,11 @@ export declare const push: {
|
|
|
133
133
|
}, undefined>;
|
|
134
134
|
}, undefined>;
|
|
135
135
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
136
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
137
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
138
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
139
|
+
}, undefined>;
|
|
140
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
136
141
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
137
142
|
readonly data: import("valibot").ObjectSchema<{
|
|
138
143
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -334,6 +339,11 @@ export declare const push: {
|
|
|
334
339
|
}, undefined>;
|
|
335
340
|
}, undefined>;
|
|
336
341
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
342
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
343
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
344
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
345
|
+
}, undefined>;
|
|
346
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
337
347
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
338
348
|
readonly data: import("valibot").ObjectSchema<{
|
|
339
349
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -419,6 +429,11 @@ export declare const push: {
|
|
|
419
429
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
420
430
|
}, undefined>;
|
|
421
431
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
432
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
433
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
434
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
435
|
+
}, undefined>;
|
|
436
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
422
437
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
423
438
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
424
439
|
}, undefined>], undefined>>;
|
|
@@ -448,6 +463,11 @@ export declare const push: {
|
|
|
448
463
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
449
464
|
}, undefined>;
|
|
450
465
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
466
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
467
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
468
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
469
|
+
}, undefined>;
|
|
470
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
451
471
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
452
472
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
453
473
|
}, 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"}
|
|
@@ -76,6 +76,11 @@ export declare const syncPushThread: import("../../../../..").EndpointConfig<"/v
|
|
|
76
76
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
77
77
|
}, undefined>;
|
|
78
78
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
79
|
+
}, undefined>, v.ObjectSchema<{
|
|
80
|
+
readonly data: v.ObjectSchema<{
|
|
81
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
82
|
+
}, undefined>;
|
|
83
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
79
84
|
}, undefined>, v.ObjectSchema<{
|
|
80
85
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
81
86
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkEzB,CAAA"}
|
|
@@ -25,6 +25,11 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
25
25
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
26
26
|
}, undefined>;
|
|
27
27
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
28
|
+
}, undefined>, v.ObjectSchema<{
|
|
29
|
+
readonly data: v.ObjectSchema<{
|
|
30
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
31
|
+
}, undefined>;
|
|
32
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
28
33
|
}, undefined>, v.ObjectSchema<{
|
|
29
34
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
30
35
|
}, 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
|
@@ -466,6 +466,11 @@ export declare const marcoSDK: {
|
|
|
466
466
|
}, undefined>;
|
|
467
467
|
}, undefined>;
|
|
468
468
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
469
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
470
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
471
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
472
|
+
}, undefined>;
|
|
473
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
469
474
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
470
475
|
readonly data: import("valibot").ObjectSchema<{
|
|
471
476
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -667,6 +672,11 @@ export declare const marcoSDK: {
|
|
|
667
672
|
}, undefined>;
|
|
668
673
|
}, undefined>;
|
|
669
674
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
675
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
676
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
677
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
678
|
+
}, undefined>;
|
|
679
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
670
680
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
671
681
|
readonly data: import("valibot").ObjectSchema<{
|
|
672
682
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -752,6 +762,11 @@ export declare const marcoSDK: {
|
|
|
752
762
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
753
763
|
}, undefined>;
|
|
754
764
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
765
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
766
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
767
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
768
|
+
}, undefined>;
|
|
769
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
755
770
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
756
771
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
757
772
|
}, undefined>], undefined>>;
|
|
@@ -781,6 +796,11 @@ export declare const marcoSDK: {
|
|
|
781
796
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
782
797
|
}, undefined>;
|
|
783
798
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
799
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
800
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
801
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
802
|
+
}, undefined>;
|
|
803
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
784
804
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
785
805
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
786
806
|
}, undefined>], undefined>>;
|
|
@@ -1007,6 +1027,12 @@ export declare const marcoSDK: {
|
|
|
1007
1027
|
}, undefined>;
|
|
1008
1028
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
1009
1029
|
}, undefined>;
|
|
1030
|
+
readonly mutationRejectedErrorSchema: import("valibot").ObjectSchema<{
|
|
1031
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
1032
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
1033
|
+
}, undefined>;
|
|
1034
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
1035
|
+
}, undefined>;
|
|
1010
1036
|
readonly userMarkedForDeletionErrorSchema: import("valibot").ObjectSchema<{
|
|
1011
1037
|
readonly data: import("valibot").ObjectSchema<{
|
|
1012
1038
|
readonly code: import("valibot").LiteralSchema<"USER_MARKED_FOR_DELETION", 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"}
|
|
@@ -71,6 +71,12 @@ export declare const accountNotFoundErrorSchema: v.ObjectSchema<{
|
|
|
71
71
|
}, undefined>;
|
|
72
72
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
73
73
|
}, undefined>;
|
|
74
|
+
export declare const mutationRejectedErrorSchema: v.ObjectSchema<{
|
|
75
|
+
readonly data: v.ObjectSchema<{
|
|
76
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
77
|
+
}, undefined>;
|
|
78
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
79
|
+
}, undefined>;
|
|
74
80
|
export declare const validationFailedErrorSchema: v.ObjectSchema<{
|
|
75
81
|
readonly data: v.ObjectSchema<{
|
|
76
82
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -143,6 +149,12 @@ export declare const errors: {
|
|
|
143
149
|
}, undefined>;
|
|
144
150
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
145
151
|
}, undefined>;
|
|
152
|
+
readonly mutationRejectedErrorSchema: v.ObjectSchema<{
|
|
153
|
+
readonly data: v.ObjectSchema<{
|
|
154
|
+
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
155
|
+
}, undefined>;
|
|
156
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
157
|
+
}, undefined>;
|
|
146
158
|
readonly userMarkedForDeletionErrorSchema: v.ObjectSchema<{
|
|
147
159
|
readonly data: v.ObjectSchema<{
|
|
148
160
|
readonly code: v.LiteralSchema<"USER_MARKED_FOR_DELETION", 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,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,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,gCAAgC;;;;;aAG3C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,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,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,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,gCAAgC;;;;;aAG3C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;aAGtC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAeT,CAAA"}
|
|
@@ -47,6 +47,10 @@ export const accountNotFoundErrorSchema = v.object({
|
|
|
47
47
|
data: v.object({ code: v.literal('ACCOUNT_NOT_FOUND') }),
|
|
48
48
|
status: v.literal(404),
|
|
49
49
|
});
|
|
50
|
+
export const mutationRejectedErrorSchema = v.object({
|
|
51
|
+
data: v.object({ code: v.literal('MUTATION_REJECTED') }),
|
|
52
|
+
status: v.literal(409),
|
|
53
|
+
});
|
|
50
54
|
export const validationFailedErrorSchema = v.object({
|
|
51
55
|
data: v.object({
|
|
52
56
|
code: v.literal('VALIDATION_FAILED'),
|
|
@@ -69,6 +73,7 @@ export const errors = {
|
|
|
69
73
|
authTooManyAttemptsErrorSchema,
|
|
70
74
|
inviteNotFoundErrorSchema,
|
|
71
75
|
messageNotFoundErrorSchema,
|
|
76
|
+
mutationRejectedErrorSchema,
|
|
72
77
|
userMarkedForDeletionErrorSchema,
|
|
73
78
|
userNotFoundErrorSchema,
|
|
74
79
|
validationFailedErrorSchema,
|
|
@@ -60,6 +60,12 @@ export declare const validation: {
|
|
|
60
60
|
}, undefined>;
|
|
61
61
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
62
62
|
}, undefined>;
|
|
63
|
+
readonly mutationRejectedErrorSchema: import("valibot").ObjectSchema<{
|
|
64
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
65
|
+
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
66
|
+
}, undefined>;
|
|
67
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
68
|
+
}, undefined>;
|
|
63
69
|
readonly userMarkedForDeletionErrorSchema: import("valibot").ObjectSchema<{
|
|
64
70
|
readonly data: import("valibot").ObjectSchema<{
|
|
65
71
|
readonly code: import("valibot").LiteralSchema<"USER_MARKED_FOR_DELETION", 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.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.accountNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema> | v.InferOutput<typeof errors.userMarkedForDeletionErrorSchema>;
|
|
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.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.accountNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema> | v.InferOutput<typeof errors.userMarkedForDeletionErrorSchema> | v.InferOutput<typeof errors.mutationRejectedErrorSchema>;
|
|
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,0BAA0B,CAAC,GACvD,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,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,yBAAyB,CAAC,GACtD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,gCAAgC,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,0BAA0B,CAAC,GACvD,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,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,yBAAyB,CAAC,GACtD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,gCAAgC,CAAC,GAC7D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,CAAA"}
|
package/package.json
CHANGED