@marcoappio/marco-config 2.0.244 → 2.0.245
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 +10 -25
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +0 -5
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.js +1 -2
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +0 -5
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +0 -25
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +0 -20
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +0 -5
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.js +0 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +0 -5
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +0 -1
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +0 -20
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts +0 -5
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/thread.js +0 -1
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +0 -5
- package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.js +0 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +10 -0
- package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +5 -0
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.js +1 -0
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +5 -0
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +1 -0
- package/dist/sdk/endpoints/public/index.d.ts +10 -0
- package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +13 -40
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +9 -33
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +5 -15
- package/dist/sdk/validation/index.d.ts +3 -15
- 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
|
@@ -13,11 +13,6 @@ export declare const endpoints: {
|
|
|
13
13
|
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
14
14
|
}, undefined>;
|
|
15
15
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
16
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
17
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
18
|
-
readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
19
|
-
}, undefined>;
|
|
20
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
21
16
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
22
17
|
readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
|
|
23
18
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -411,11 +406,6 @@ export declare const endpoints: {
|
|
|
411
406
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
412
407
|
}, undefined>;
|
|
413
408
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
414
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
415
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
416
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
417
|
-
}, undefined>;
|
|
418
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
419
409
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
420
410
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
421
411
|
}, undefined>], undefined>>;
|
|
@@ -576,11 +566,6 @@ export declare const endpoints: {
|
|
|
576
566
|
}, undefined>;
|
|
577
567
|
}, undefined>;
|
|
578
568
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
579
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
580
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
581
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
582
|
-
}, undefined>;
|
|
583
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
584
569
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
585
570
|
readonly data: import("valibot").ObjectSchema<{
|
|
586
571
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -666,11 +651,6 @@ export declare const endpoints: {
|
|
|
666
651
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
667
652
|
}, undefined>;
|
|
668
653
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
669
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
670
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
671
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
672
|
-
}, undefined>;
|
|
673
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
674
654
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
675
655
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
676
656
|
}, undefined>], undefined>>;
|
|
@@ -723,11 +703,6 @@ export declare const endpoints: {
|
|
|
723
703
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
724
704
|
}, undefined>;
|
|
725
705
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
726
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
727
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
728
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
729
|
-
}, undefined>;
|
|
730
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
731
706
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
732
707
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
733
708
|
}, undefined>], undefined>>;
|
|
@@ -802,6 +777,11 @@ export declare const endpoints: {
|
|
|
802
777
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
803
778
|
}, undefined>;
|
|
804
779
|
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
780
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
781
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
782
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
783
|
+
}, undefined>;
|
|
784
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
805
785
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
806
786
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
807
787
|
}, undefined>], undefined>>;
|
|
@@ -838,6 +818,11 @@ export declare const endpoints: {
|
|
|
838
818
|
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
839
819
|
}, undefined>;
|
|
840
820
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
821
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
822
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
823
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
824
|
+
}, undefined>;
|
|
825
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
841
826
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
842
827
|
readonly data: import("valibot").ObjectSchema<{
|
|
843
828
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", 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"}
|
|
@@ -9,11 +9,6 @@ export declare const getEmailMessageAttachment: import("../../../..").EndpointCo
|
|
|
9
9
|
readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
10
10
|
}, undefined>;
|
|
11
11
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
12
|
-
}, undefined>, v.ObjectSchema<{
|
|
13
|
-
readonly data: v.ObjectSchema<{
|
|
14
|
-
readonly code: v.LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
15
|
-
}, undefined>;
|
|
16
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
17
12
|
}, undefined>, v.ObjectSchema<{
|
|
18
13
|
readonly file: v.NonOptionalSchema<v.FileSchema<undefined>, undefined>;
|
|
19
14
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEmailMessageAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"getEmailMessageAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;2BAWpC,CAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
3
|
-
import {
|
|
3
|
+
import { authFailedErrorSchema, messageNotFoundErrorSchema } from '../../../../sdk/validation/errors';
|
|
4
4
|
export const getEmailMessageAttachment = createEndpoint({
|
|
5
5
|
method: 'GET',
|
|
6
6
|
path: '/v1/pv/thread/:threadId/message/:messageId/attachment/:attachmentId',
|
|
7
7
|
response: v.union([
|
|
8
8
|
authFailedErrorSchema,
|
|
9
9
|
messageNotFoundErrorSchema,
|
|
10
|
-
attachmentNotFoundErrorSchema,
|
|
11
10
|
v.object({
|
|
12
11
|
file: v.nonOptional(v.file()),
|
|
13
12
|
status: v.literal(200),
|
|
@@ -9,11 +9,6 @@ export declare const emailMessage: {
|
|
|
9
9
|
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
10
10
|
}, undefined>;
|
|
11
11
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
12
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
13
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
14
|
-
readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
15
|
-
}, undefined>;
|
|
16
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
17
12
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
18
13
|
readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
|
|
19
14
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxB,CAAA"}
|
|
@@ -10,11 +10,6 @@ export declare const privateGroup: {
|
|
|
10
10
|
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
11
11
|
}, undefined>;
|
|
12
12
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
13
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
14
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
15
|
-
readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
16
|
-
}, undefined>;
|
|
17
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
18
13
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
19
14
|
readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
|
|
20
15
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -408,11 +403,6 @@ export declare const privateGroup: {
|
|
|
408
403
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
409
404
|
}, undefined>;
|
|
410
405
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
411
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
412
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
413
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
414
|
-
}, undefined>;
|
|
415
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
416
406
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
417
407
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
418
408
|
}, undefined>], undefined>>;
|
|
@@ -573,11 +563,6 @@ export declare const privateGroup: {
|
|
|
573
563
|
}, undefined>;
|
|
574
564
|
}, undefined>;
|
|
575
565
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
576
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
577
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
578
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
579
|
-
}, undefined>;
|
|
580
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
581
566
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
582
567
|
readonly data: import("valibot").ObjectSchema<{
|
|
583
568
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -663,11 +648,6 @@ export declare const privateGroup: {
|
|
|
663
648
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
664
649
|
}, undefined>;
|
|
665
650
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
666
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
667
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
668
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
669
|
-
}, undefined>;
|
|
670
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
671
651
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
672
652
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
673
653
|
}, undefined>], undefined>>;
|
|
@@ -720,11 +700,6 @@ export declare const privateGroup: {
|
|
|
720
700
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
721
701
|
}, undefined>;
|
|
722
702
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
723
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
724
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
725
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
726
|
-
}, undefined>;
|
|
727
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
728
703
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
729
704
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
730
705
|
}, 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"}
|
|
@@ -370,11 +370,6 @@ export declare const sync: {
|
|
|
370
370
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
371
371
|
}, undefined>;
|
|
372
372
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
373
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
374
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
375
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
376
|
-
}, undefined>;
|
|
377
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
378
373
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
379
374
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
380
375
|
}, undefined>], undefined>>;
|
|
@@ -535,11 +530,6 @@ export declare const sync: {
|
|
|
535
530
|
}, undefined>;
|
|
536
531
|
}, undefined>;
|
|
537
532
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
538
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
539
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
540
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
541
|
-
}, undefined>;
|
|
542
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
543
533
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
544
534
|
readonly data: import("valibot").ObjectSchema<{
|
|
545
535
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -625,11 +615,6 @@ export declare const sync: {
|
|
|
625
615
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
626
616
|
}, undefined>;
|
|
627
617
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
628
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
629
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
630
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
631
|
-
}, undefined>;
|
|
632
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
633
618
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
634
619
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
635
620
|
}, undefined>], undefined>>;
|
|
@@ -682,11 +667,6 @@ export declare const sync: {
|
|
|
682
667
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
683
668
|
}, undefined>;
|
|
684
669
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
685
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
686
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
687
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
688
|
-
}, undefined>;
|
|
689
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
690
670
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
691
671
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
692
672
|
}, 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"}
|
|
@@ -86,11 +86,6 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
86
86
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
87
87
|
}, undefined>;
|
|
88
88
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
89
|
-
}, undefined>, v.ObjectSchema<{
|
|
90
|
-
readonly data: v.ObjectSchema<{
|
|
91
|
-
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
92
|
-
}, undefined>;
|
|
93
|
-
readonly status: v.LiteralSchema<409, undefined>;
|
|
94
89
|
}, undefined>, v.ObjectSchema<{
|
|
95
90
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
96
91
|
}, 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyC1B,CAAA"}
|
|
@@ -156,11 +156,6 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
156
156
|
}, undefined>;
|
|
157
157
|
}, undefined>;
|
|
158
158
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
159
|
-
}, undefined>, v.ObjectSchema<{
|
|
160
|
-
readonly data: v.ObjectSchema<{
|
|
161
|
-
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
162
|
-
}, undefined>;
|
|
163
|
-
readonly status: v.LiteralSchema<409, undefined>;
|
|
164
159
|
}, undefined>, v.ObjectSchema<{
|
|
165
160
|
readonly data: v.ObjectSchema<{
|
|
166
161
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiExB,CAAA"}
|
|
@@ -86,11 +86,6 @@ export declare const push: {
|
|
|
86
86
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
87
87
|
}, undefined>;
|
|
88
88
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
89
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
90
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
91
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
92
|
-
}, undefined>;
|
|
93
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
94
89
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
95
90
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
96
91
|
}, undefined>], undefined>>;
|
|
@@ -251,11 +246,6 @@ export declare const push: {
|
|
|
251
246
|
}, undefined>;
|
|
252
247
|
}, undefined>;
|
|
253
248
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
254
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
255
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
256
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
257
|
-
}, undefined>;
|
|
258
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
259
249
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
260
250
|
readonly data: import("valibot").ObjectSchema<{
|
|
261
251
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -341,11 +331,6 @@ export declare const push: {
|
|
|
341
331
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
342
332
|
}, undefined>;
|
|
343
333
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
344
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
345
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
346
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
347
|
-
}, undefined>;
|
|
348
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
349
334
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
350
335
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
351
336
|
}, undefined>], undefined>>;
|
|
@@ -398,11 +383,6 @@ export declare const push: {
|
|
|
398
383
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
399
384
|
}, undefined>;
|
|
400
385
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
401
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
402
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
403
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
404
|
-
}, undefined>;
|
|
405
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
406
386
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
407
387
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
408
388
|
}, 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,11 +76,6 @@ 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>;
|
|
84
79
|
}, undefined>, v.ObjectSchema<{
|
|
85
80
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
86
81
|
}, 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiEzB,CAAA"}
|
|
@@ -48,11 +48,6 @@ 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_REJECTED", undefined>;
|
|
54
|
-
}, undefined>;
|
|
55
|
-
readonly status: v.LiteralSchema<409, undefined>;
|
|
56
51
|
}, undefined>, v.ObjectSchema<{
|
|
57
52
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
58
53
|
}, 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuBvB,CAAA"}
|
|
@@ -55,6 +55,11 @@ export declare const auth: {
|
|
|
55
55
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
56
56
|
}, undefined>;
|
|
57
57
|
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
58
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
59
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
60
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
61
|
+
}, undefined>;
|
|
62
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
58
63
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
59
64
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
60
65
|
}, undefined>], undefined>>;
|
|
@@ -91,6 +96,11 @@ export declare const auth: {
|
|
|
91
96
|
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
92
97
|
}, undefined>;
|
|
93
98
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
99
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
100
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
101
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
102
|
+
}, undefined>;
|
|
103
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
94
104
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
95
105
|
readonly data: import("valibot").ObjectSchema<{
|
|
96
106
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
|
|
@@ -16,6 +16,11 @@ export declare const sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/
|
|
|
16
16
|
readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
17
17
|
}, undefined>;
|
|
18
18
|
readonly status: v.LiteralSchema<502, undefined>;
|
|
19
|
+
}, undefined>, v.ObjectSchema<{
|
|
20
|
+
readonly data: v.ObjectSchema<{
|
|
21
|
+
readonly code: v.LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
22
|
+
}, undefined>;
|
|
23
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
19
24
|
}, undefined>, v.ObjectSchema<{
|
|
20
25
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
21
26
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/sendAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"sendAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/sendAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;2BAcvB,CAAA"}
|
|
@@ -32,6 +32,11 @@ export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/p
|
|
|
32
32
|
readonly code: v.LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
33
33
|
}, undefined>;
|
|
34
34
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
35
|
+
}, undefined>, v.ObjectSchema<{
|
|
36
|
+
readonly data: v.ObjectSchema<{
|
|
37
|
+
readonly code: v.LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
38
|
+
}, undefined>;
|
|
39
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
35
40
|
}, undefined>, v.ObjectSchema<{
|
|
36
41
|
readonly data: v.ObjectSchema<{
|
|
37
42
|
readonly code: v.LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkCzB,CAAA"}
|
|
@@ -15,6 +15,7 @@ export const verifyAuthCode = createEndpoint({
|
|
|
15
15
|
errors.authCodeInvalidErrorSchema,
|
|
16
16
|
errors.authCodePreviouslyUsedErrorSchema,
|
|
17
17
|
errors.authTooManyAttemptsErrorSchema,
|
|
18
|
+
errors.inviteNotFoundErrorSchema,
|
|
18
19
|
errors.authServerResponseUnexpectedErrorSchema,
|
|
19
20
|
errors.userNotFoundErrorSchema,
|
|
20
21
|
v.object({
|
|
@@ -56,6 +56,11 @@ export declare const publicGroup: {
|
|
|
56
56
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
57
57
|
}, undefined>;
|
|
58
58
|
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
59
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
60
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
61
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
62
|
+
}, undefined>;
|
|
63
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
59
64
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
60
65
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
61
66
|
}, undefined>], undefined>>;
|
|
@@ -92,6 +97,11 @@ export declare const publicGroup: {
|
|
|
92
97
|
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
93
98
|
}, undefined>;
|
|
94
99
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
100
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
101
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
102
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
103
|
+
}, undefined>;
|
|
104
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
95
105
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
96
106
|
readonly data: import("valibot").ObjectSchema<{
|
|
97
107
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -12,11 +12,6 @@ export declare const marcoSDK: {
|
|
|
12
12
|
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
13
13
|
}, undefined>;
|
|
14
14
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
15
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
16
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
17
|
-
readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
18
|
-
}, undefined>;
|
|
19
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
20
15
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
21
16
|
readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
|
|
22
17
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
@@ -410,11 +405,6 @@ export declare const marcoSDK: {
|
|
|
410
405
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
411
406
|
}, undefined>;
|
|
412
407
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
413
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
414
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
415
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
416
|
-
}, undefined>;
|
|
417
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
418
408
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
419
409
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
420
410
|
}, undefined>], undefined>>;
|
|
@@ -575,11 +565,6 @@ export declare const marcoSDK: {
|
|
|
575
565
|
}, undefined>;
|
|
576
566
|
}, undefined>;
|
|
577
567
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
578
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
579
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
580
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
581
|
-
}, undefined>;
|
|
582
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
583
568
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
584
569
|
readonly data: import("valibot").ObjectSchema<{
|
|
585
570
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -665,11 +650,6 @@ export declare const marcoSDK: {
|
|
|
665
650
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
666
651
|
}, undefined>;
|
|
667
652
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
668
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
669
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
670
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
671
|
-
}, undefined>;
|
|
672
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
673
653
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
674
654
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
675
655
|
}, undefined>], undefined>>;
|
|
@@ -722,11 +702,6 @@ export declare const marcoSDK: {
|
|
|
722
702
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
723
703
|
}, undefined>;
|
|
724
704
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
725
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
726
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
727
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
728
|
-
}, undefined>;
|
|
729
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
730
705
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
731
706
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
732
707
|
}, undefined>], undefined>>;
|
|
@@ -801,6 +776,11 @@ export declare const marcoSDK: {
|
|
|
801
776
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
802
777
|
}, undefined>;
|
|
803
778
|
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
779
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
780
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
781
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
782
|
+
}, undefined>;
|
|
783
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
804
784
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
805
785
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
806
786
|
}, undefined>], undefined>>;
|
|
@@ -837,6 +817,11 @@ export declare const marcoSDK: {
|
|
|
837
817
|
readonly code: import("valibot").LiteralSchema<"AUTH_TOO_MANY_ATTEMPTS", undefined>;
|
|
838
818
|
}, undefined>;
|
|
839
819
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
820
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
821
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
822
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
823
|
+
}, undefined>;
|
|
824
|
+
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
840
825
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
841
826
|
readonly data: import("valibot").ObjectSchema<{
|
|
842
827
|
readonly code: import("valibot").LiteralSchema<"AUTH_SERVER_RESPONSE_UNEXPECTED", undefined>;
|
|
@@ -875,12 +860,6 @@ export declare const marcoSDK: {
|
|
|
875
860
|
};
|
|
876
861
|
validation: {
|
|
877
862
|
errors: {
|
|
878
|
-
readonly attachmentNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
879
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
880
|
-
readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
881
|
-
}, undefined>;
|
|
882
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
883
|
-
}, undefined>;
|
|
884
863
|
readonly authCodeExpiredErrorSchema: import("valibot").ObjectSchema<{
|
|
885
864
|
readonly data: import("valibot").ObjectSchema<{
|
|
886
865
|
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
@@ -923,19 +902,13 @@ export declare const marcoSDK: {
|
|
|
923
902
|
}, undefined>;
|
|
924
903
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
925
904
|
}, undefined>;
|
|
926
|
-
readonly
|
|
905
|
+
readonly inviteNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
927
906
|
readonly data: import("valibot").ObjectSchema<{
|
|
928
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
907
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
929
908
|
}, undefined>;
|
|
930
909
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
931
910
|
}, undefined>;
|
|
932
|
-
readonly
|
|
933
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
934
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
935
|
-
}, undefined>;
|
|
936
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
937
|
-
}, undefined>;
|
|
938
|
-
readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
911
|
+
readonly messageNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
939
912
|
readonly data: import("valibot").ObjectSchema<{
|
|
940
913
|
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
941
914
|
}, 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"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
+
export declare const inviteNotFoundErrorSchema: v.ObjectSchema<{
|
|
3
|
+
readonly data: v.ObjectSchema<{
|
|
4
|
+
readonly code: v.LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
5
|
+
}, undefined>;
|
|
6
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
7
|
+
}, undefined>;
|
|
2
8
|
export declare const authCodeExpiredErrorSchema: v.ObjectSchema<{
|
|
3
9
|
readonly data: v.ObjectSchema<{
|
|
4
10
|
readonly code: v.LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
@@ -53,24 +59,6 @@ export declare const messageNotFoundErrorSchema: v.ObjectSchema<{
|
|
|
53
59
|
}, undefined>;
|
|
54
60
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
55
61
|
}, undefined>;
|
|
56
|
-
export declare const attachmentNotFoundErrorSchema: v.ObjectSchema<{
|
|
57
|
-
readonly data: v.ObjectSchema<{
|
|
58
|
-
readonly code: v.LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
59
|
-
}, undefined>;
|
|
60
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
61
|
-
}, undefined>;
|
|
62
|
-
export declare const threadNotFoundErrorSchema: v.ObjectSchema<{
|
|
63
|
-
readonly data: v.ObjectSchema<{
|
|
64
|
-
readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
65
|
-
}, undefined>;
|
|
66
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
67
|
-
}, undefined>;
|
|
68
|
-
export declare const mutationDriftErrorSchema: v.ObjectSchema<{
|
|
69
|
-
readonly data: v.ObjectSchema<{
|
|
70
|
-
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
71
|
-
}, undefined>;
|
|
72
|
-
readonly status: v.LiteralSchema<409, undefined>;
|
|
73
|
-
}, undefined>;
|
|
74
62
|
export declare const validationFailedErrorSchema: v.ObjectSchema<{
|
|
75
63
|
readonly data: v.ObjectSchema<{
|
|
76
64
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -83,12 +71,6 @@ export declare const validationFailedErrorSchema: v.ObjectSchema<{
|
|
|
83
71
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
84
72
|
}, undefined>;
|
|
85
73
|
export declare const errors: {
|
|
86
|
-
readonly attachmentNotFoundErrorSchema: v.ObjectSchema<{
|
|
87
|
-
readonly data: v.ObjectSchema<{
|
|
88
|
-
readonly code: v.LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
89
|
-
}, undefined>;
|
|
90
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
91
|
-
}, undefined>;
|
|
92
74
|
readonly authCodeExpiredErrorSchema: v.ObjectSchema<{
|
|
93
75
|
readonly data: v.ObjectSchema<{
|
|
94
76
|
readonly code: v.LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
@@ -131,19 +113,13 @@ export declare const errors: {
|
|
|
131
113
|
}, undefined>;
|
|
132
114
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
133
115
|
}, undefined>;
|
|
134
|
-
readonly
|
|
116
|
+
readonly inviteNotFoundErrorSchema: v.ObjectSchema<{
|
|
135
117
|
readonly data: v.ObjectSchema<{
|
|
136
|
-
readonly code: v.LiteralSchema<"
|
|
118
|
+
readonly code: v.LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
137
119
|
}, undefined>;
|
|
138
120
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
139
121
|
}, undefined>;
|
|
140
|
-
readonly
|
|
141
|
-
readonly data: v.ObjectSchema<{
|
|
142
|
-
readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
143
|
-
}, undefined>;
|
|
144
|
-
readonly status: v.LiteralSchema<409, undefined>;
|
|
145
|
-
}, undefined>;
|
|
146
|
-
readonly threadNotFoundErrorSchema: v.ObjectSchema<{
|
|
122
|
+
readonly messageNotFoundErrorSchema: v.ObjectSchema<{
|
|
147
123
|
readonly data: v.ObjectSchema<{
|
|
148
124
|
readonly code: v.LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
149
125
|
}, 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,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,
|
|
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,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYT,CAAA"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
+
export const inviteNotFoundErrorSchema = v.object({
|
|
3
|
+
data: v.object({ code: v.literal('INVITE_NOT_FOUND') }),
|
|
4
|
+
status: v.literal(404),
|
|
5
|
+
});
|
|
2
6
|
export const authCodeExpiredErrorSchema = v.object({
|
|
3
7
|
data: v.object({ code: v.literal('AUTH_CODE_EXPIRED') }),
|
|
4
8
|
status: v.literal(401),
|
|
@@ -35,18 +39,6 @@ export const messageNotFoundErrorSchema = v.object({
|
|
|
35
39
|
data: v.object({ code: v.literal('MESSAGE_NOT_FOUND') }),
|
|
36
40
|
status: v.literal(404),
|
|
37
41
|
});
|
|
38
|
-
export const attachmentNotFoundErrorSchema = v.object({
|
|
39
|
-
data: v.object({ code: v.literal('ATTACHMENT_NOT_FOUND') }),
|
|
40
|
-
status: v.literal(404),
|
|
41
|
-
});
|
|
42
|
-
export const threadNotFoundErrorSchema = v.object({
|
|
43
|
-
data: v.object({ code: v.literal('MESSAGE_NOT_FOUND') }),
|
|
44
|
-
status: v.literal(404),
|
|
45
|
-
});
|
|
46
|
-
export const mutationDriftErrorSchema = v.object({
|
|
47
|
-
data: v.object({ code: v.literal('MUTATION_REJECTED') }),
|
|
48
|
-
status: v.literal(409),
|
|
49
|
-
});
|
|
50
42
|
export const validationFailedErrorSchema = v.object({
|
|
51
43
|
data: v.object({
|
|
52
44
|
code: v.literal('VALIDATION_FAILED'),
|
|
@@ -59,7 +51,6 @@ export const validationFailedErrorSchema = v.object({
|
|
|
59
51
|
status: v.literal(400),
|
|
60
52
|
});
|
|
61
53
|
export const errors = {
|
|
62
|
-
attachmentNotFoundErrorSchema,
|
|
63
54
|
authCodeExpiredErrorSchema,
|
|
64
55
|
authCodeInvalidErrorSchema,
|
|
65
56
|
authCodePreviouslyUsedErrorSchema,
|
|
@@ -67,9 +58,8 @@ export const errors = {
|
|
|
67
58
|
authRefreshTokenInvalid,
|
|
68
59
|
authServerResponseUnexpectedErrorSchema,
|
|
69
60
|
authTooManyAttemptsErrorSchema,
|
|
61
|
+
inviteNotFoundErrorSchema,
|
|
70
62
|
messageNotFoundErrorSchema,
|
|
71
|
-
mutationDriftErrorSchema,
|
|
72
|
-
threadNotFoundErrorSchema,
|
|
73
63
|
userNotFoundErrorSchema,
|
|
74
64
|
validationFailedErrorSchema,
|
|
75
65
|
};
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
export declare const validation: {
|
|
2
2
|
errors: {
|
|
3
|
-
readonly attachmentNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
4
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
5
|
-
readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
|
|
6
|
-
}, undefined>;
|
|
7
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
8
|
-
}, undefined>;
|
|
9
3
|
readonly authCodeExpiredErrorSchema: import("valibot").ObjectSchema<{
|
|
10
4
|
readonly data: import("valibot").ObjectSchema<{
|
|
11
5
|
readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
|
|
@@ -48,19 +42,13 @@ export declare const validation: {
|
|
|
48
42
|
}, undefined>;
|
|
49
43
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
50
44
|
}, undefined>;
|
|
51
|
-
readonly
|
|
45
|
+
readonly inviteNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
52
46
|
readonly data: import("valibot").ObjectSchema<{
|
|
53
|
-
readonly code: import("valibot").LiteralSchema<"
|
|
47
|
+
readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
|
|
54
48
|
}, undefined>;
|
|
55
49
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
56
50
|
}, undefined>;
|
|
57
|
-
readonly
|
|
58
|
-
readonly data: import("valibot").ObjectSchema<{
|
|
59
|
-
readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
|
|
60
|
-
}, undefined>;
|
|
61
|
-
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
62
|
-
}, undefined>;
|
|
63
|
-
readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
51
|
+
readonly messageNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
64
52
|
readonly data: import("valibot").ObjectSchema<{
|
|
65
53
|
readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
|
|
66
54
|
}, 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.
|
|
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.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema>;
|
|
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,
|
|
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,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,yBAAyB,CAAC,CAAA"}
|
package/package.json
CHANGED