@marcoappio/marco-config 2.0.344 → 2.0.345
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clients/account.d.ts +2 -2
- package/dist/clients/draft.d.ts +2 -2
- package/dist/clients/index.d.ts +4 -4
- package/dist/schemas/auth.d.ts +14 -0
- package/dist/schemas/auth.d.ts.map +1 -0
- package/dist/schemas/auth.js +14 -0
- package/dist/schemas/index.d.ts +12 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +2 -0
- package/dist/sdk/endpoints/index.d.ts +4 -4
- package/dist/sdk/endpoints/private/index.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/index.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +2 -2
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +4 -4
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +2 -10
- package/dist/sdk/index.d.ts +4 -4
- package/package.json +1 -1
|
@@ -129,7 +129,7 @@ export declare const account: {
|
|
|
129
129
|
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
130
130
|
name?: string | null | undefined;
|
|
131
131
|
color?: string | undefined;
|
|
132
|
-
}, v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.
|
|
132
|
+
}, v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ObjectIssue>;
|
|
133
133
|
readonly '~types'?: {
|
|
134
134
|
readonly input: {
|
|
135
135
|
name?: string | null | undefined;
|
|
@@ -139,7 +139,7 @@ export declare const account: {
|
|
|
139
139
|
name?: string | null | undefined;
|
|
140
140
|
color?: string | undefined;
|
|
141
141
|
};
|
|
142
|
-
readonly issue: v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.
|
|
142
|
+
readonly issue: v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ObjectIssue;
|
|
143
143
|
} | undefined;
|
|
144
144
|
};
|
|
145
145
|
}, undefined>;
|
package/dist/clients/draft.d.ts
CHANGED
|
@@ -141,7 +141,7 @@ export declare const draft: {
|
|
|
141
141
|
cc: string[];
|
|
142
142
|
to: string[];
|
|
143
143
|
subject: string | null;
|
|
144
|
-
}, v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.
|
|
144
|
+
}, v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ObjectIssue | v.ArrayIssue>;
|
|
145
145
|
readonly '~types'?: {
|
|
146
146
|
readonly input: {
|
|
147
147
|
bcc: string[];
|
|
@@ -155,7 +155,7 @@ export declare const draft: {
|
|
|
155
155
|
to: string[];
|
|
156
156
|
subject: string | null;
|
|
157
157
|
};
|
|
158
|
-
readonly issue: v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.
|
|
158
|
+
readonly issue: v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ObjectIssue | v.ArrayIssue;
|
|
159
159
|
} | undefined;
|
|
160
160
|
};
|
|
161
161
|
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
package/dist/clients/index.d.ts
CHANGED
|
@@ -130,7 +130,7 @@ export declare const marcoClients: {
|
|
|
130
130
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
131
131
|
name?: string | null | undefined;
|
|
132
132
|
color?: string | undefined;
|
|
133
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
133
|
+
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue>;
|
|
134
134
|
readonly '~types'?: {
|
|
135
135
|
readonly input: {
|
|
136
136
|
name?: string | null | undefined;
|
|
@@ -140,7 +140,7 @@ export declare const marcoClients: {
|
|
|
140
140
|
name?: string | null | undefined;
|
|
141
141
|
color?: string | undefined;
|
|
142
142
|
};
|
|
143
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
143
|
+
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue;
|
|
144
144
|
} | undefined;
|
|
145
145
|
};
|
|
146
146
|
}, undefined>;
|
|
@@ -305,7 +305,7 @@ export declare const marcoClients: {
|
|
|
305
305
|
cc: string[];
|
|
306
306
|
to: string[];
|
|
307
307
|
subject: string | null;
|
|
308
|
-
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
308
|
+
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue>;
|
|
309
309
|
readonly '~types'?: {
|
|
310
310
|
readonly input: {
|
|
311
311
|
bcc: string[];
|
|
@@ -319,7 +319,7 @@ export declare const marcoClients: {
|
|
|
319
319
|
to: string[];
|
|
320
320
|
subject: string | null;
|
|
321
321
|
};
|
|
322
|
-
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
322
|
+
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue;
|
|
323
323
|
} | undefined;
|
|
324
324
|
};
|
|
325
325
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const auth: {
|
|
3
|
+
code: v.ObjectSchema<{
|
|
4
|
+
readonly authType: v.LiteralSchema<"CODE", undefined>;
|
|
5
|
+
readonly code: v.StringSchema<undefined>;
|
|
6
|
+
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
7
|
+
}, undefined>;
|
|
8
|
+
password: v.ObjectSchema<{
|
|
9
|
+
readonly authType: v.LiteralSchema<"PASSWORD", undefined>;
|
|
10
|
+
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
11
|
+
readonly password: v.StringSchema<undefined>;
|
|
12
|
+
}, undefined>;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/schemas/auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B,eAAO,MAAM,IAAI;;;;;;;;;;;CAWhB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { string } from './string';
|
|
3
|
+
export const auth = {
|
|
4
|
+
code: v.object({
|
|
5
|
+
authType: v.literal('CODE'),
|
|
6
|
+
code: v.string(),
|
|
7
|
+
email: string.email(),
|
|
8
|
+
}),
|
|
9
|
+
password: v.object({
|
|
10
|
+
authType: v.literal('PASSWORD'),
|
|
11
|
+
email: string.email(),
|
|
12
|
+
password: v.string(),
|
|
13
|
+
}),
|
|
14
|
+
};
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -2,6 +2,18 @@ export declare const marcoSchemas: {
|
|
|
2
2
|
app: {
|
|
3
3
|
platform: () => import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ios", undefined>, import("valibot").LiteralSchema<"osx", undefined>, import("valibot").LiteralSchema<"web", undefined>], undefined>;
|
|
4
4
|
};
|
|
5
|
+
auth: {
|
|
6
|
+
code: import("valibot").ObjectSchema<{
|
|
7
|
+
readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
|
|
8
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
9
|
+
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
10
|
+
}, undefined>;
|
|
11
|
+
password: import("valibot").ObjectSchema<{
|
|
12
|
+
readonly authType: import("valibot").LiteralSchema<"PASSWORD", undefined>;
|
|
13
|
+
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
14
|
+
readonly password: import("valibot").StringSchema<undefined>;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
};
|
|
5
17
|
drafts: {
|
|
6
18
|
contentPatch: {
|
|
7
19
|
instruction: () => import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUxB,CAAA"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { string } from '../schemas/string';
|
|
2
2
|
import { app } from './app';
|
|
3
|
+
import { auth } from './auth';
|
|
3
4
|
import { drafts } from './drafts';
|
|
4
5
|
import { emailAccount } from './emailAccount';
|
|
5
6
|
import { labels } from './labels';
|
|
@@ -8,6 +9,7 @@ import { oauth } from './oauth';
|
|
|
8
9
|
import { pushNotifications } from './pushNotifications';
|
|
9
10
|
export const marcoSchemas = {
|
|
10
11
|
app,
|
|
12
|
+
auth,
|
|
11
13
|
drafts,
|
|
12
14
|
emailAccount,
|
|
13
15
|
labels,
|
|
@@ -460,7 +460,7 @@ export declare const endpoints: {
|
|
|
460
460
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
461
461
|
name?: string | null | undefined;
|
|
462
462
|
color?: string | undefined;
|
|
463
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
463
|
+
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue>;
|
|
464
464
|
readonly '~types'?: {
|
|
465
465
|
readonly input: {
|
|
466
466
|
name?: string | null | undefined;
|
|
@@ -470,7 +470,7 @@ export declare const endpoints: {
|
|
|
470
470
|
name?: string | null | undefined;
|
|
471
471
|
color?: string | undefined;
|
|
472
472
|
};
|
|
473
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
473
|
+
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue;
|
|
474
474
|
} | undefined;
|
|
475
475
|
};
|
|
476
476
|
}, undefined>;
|
|
@@ -629,7 +629,7 @@ export declare const endpoints: {
|
|
|
629
629
|
cc: string[];
|
|
630
630
|
to: string[];
|
|
631
631
|
subject: string | null;
|
|
632
|
-
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
632
|
+
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue>;
|
|
633
633
|
readonly '~types'?: {
|
|
634
634
|
readonly input: {
|
|
635
635
|
bcc: string[];
|
|
@@ -643,7 +643,7 @@ export declare const endpoints: {
|
|
|
643
643
|
to: string[];
|
|
644
644
|
subject: string | null;
|
|
645
645
|
};
|
|
646
|
-
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
646
|
+
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue;
|
|
647
647
|
} | undefined;
|
|
648
648
|
};
|
|
649
649
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
@@ -457,7 +457,7 @@ export declare const privateGroup: {
|
|
|
457
457
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
458
458
|
name?: string | null | undefined;
|
|
459
459
|
color?: string | undefined;
|
|
460
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
460
|
+
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue>;
|
|
461
461
|
readonly '~types'?: {
|
|
462
462
|
readonly input: {
|
|
463
463
|
name?: string | null | undefined;
|
|
@@ -467,7 +467,7 @@ export declare const privateGroup: {
|
|
|
467
467
|
name?: string | null | undefined;
|
|
468
468
|
color?: string | undefined;
|
|
469
469
|
};
|
|
470
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
470
|
+
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue;
|
|
471
471
|
} | undefined;
|
|
472
472
|
};
|
|
473
473
|
}, undefined>;
|
|
@@ -626,7 +626,7 @@ export declare const privateGroup: {
|
|
|
626
626
|
cc: string[];
|
|
627
627
|
to: string[];
|
|
628
628
|
subject: string | null;
|
|
629
|
-
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
629
|
+
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue>;
|
|
630
630
|
readonly '~types'?: {
|
|
631
631
|
readonly input: {
|
|
632
632
|
bcc: string[];
|
|
@@ -640,7 +640,7 @@ export declare const privateGroup: {
|
|
|
640
640
|
to: string[];
|
|
641
641
|
subject: string | null;
|
|
642
642
|
};
|
|
643
|
-
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
643
|
+
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue;
|
|
644
644
|
} | undefined;
|
|
645
645
|
};
|
|
646
646
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
@@ -424,7 +424,7 @@ export declare const sync: {
|
|
|
424
424
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
425
425
|
name?: string | null | undefined;
|
|
426
426
|
color?: string | undefined;
|
|
427
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
427
|
+
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue>;
|
|
428
428
|
readonly '~types'?: {
|
|
429
429
|
readonly input: {
|
|
430
430
|
name?: string | null | undefined;
|
|
@@ -434,7 +434,7 @@ export declare const sync: {
|
|
|
434
434
|
name?: string | null | undefined;
|
|
435
435
|
color?: string | undefined;
|
|
436
436
|
};
|
|
437
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
437
|
+
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue;
|
|
438
438
|
} | undefined;
|
|
439
439
|
};
|
|
440
440
|
}, undefined>;
|
|
@@ -593,7 +593,7 @@ export declare const sync: {
|
|
|
593
593
|
cc: string[];
|
|
594
594
|
to: string[];
|
|
595
595
|
subject: string | null;
|
|
596
|
-
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
596
|
+
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue>;
|
|
597
597
|
readonly '~types'?: {
|
|
598
598
|
readonly input: {
|
|
599
599
|
bcc: string[];
|
|
@@ -607,7 +607,7 @@ export declare const sync: {
|
|
|
607
607
|
to: string[];
|
|
608
608
|
subject: string | null;
|
|
609
609
|
};
|
|
610
|
-
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
610
|
+
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue;
|
|
611
611
|
} | undefined;
|
|
612
612
|
};
|
|
613
613
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
|
@@ -120,7 +120,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
120
120
|
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
121
121
|
name?: string | null | undefined;
|
|
122
122
|
color?: string | undefined;
|
|
123
|
-
}, v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.
|
|
123
|
+
}, v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ObjectIssue>;
|
|
124
124
|
readonly '~types'?: {
|
|
125
125
|
readonly input: {
|
|
126
126
|
name?: string | null | undefined;
|
|
@@ -130,7 +130,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
130
130
|
name?: string | null | undefined;
|
|
131
131
|
color?: string | undefined;
|
|
132
132
|
};
|
|
133
|
-
readonly issue: v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.
|
|
133
|
+
readonly issue: v.StringIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ObjectIssue;
|
|
134
134
|
} | undefined;
|
|
135
135
|
};
|
|
136
136
|
}, undefined>;
|
|
@@ -127,7 +127,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
127
127
|
cc: string[];
|
|
128
128
|
to: string[];
|
|
129
129
|
subject: string | null;
|
|
130
|
-
}, v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.
|
|
130
|
+
}, v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ObjectIssue | v.ArrayIssue>;
|
|
131
131
|
readonly '~types'?: {
|
|
132
132
|
readonly input: {
|
|
133
133
|
bcc: string[];
|
|
@@ -141,7 +141,7 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
141
141
|
to: string[];
|
|
142
142
|
subject: string | null;
|
|
143
143
|
};
|
|
144
|
-
readonly issue: v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.
|
|
144
|
+
readonly issue: v.StringIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.NonOptionalIssue | v.ObjectIssue | v.ArrayIssue;
|
|
145
145
|
} | undefined;
|
|
146
146
|
};
|
|
147
147
|
readonly id: v.CustomSchema<string, v.ErrorMessage<v.CustomIssue> | undefined>;
|
|
@@ -120,7 +120,7 @@ export declare const push: {
|
|
|
120
120
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
121
121
|
name?: string | null | undefined;
|
|
122
122
|
color?: string | undefined;
|
|
123
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
123
|
+
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue>;
|
|
124
124
|
readonly '~types'?: {
|
|
125
125
|
readonly input: {
|
|
126
126
|
name?: string | null | undefined;
|
|
@@ -130,7 +130,7 @@ export declare const push: {
|
|
|
130
130
|
name?: string | null | undefined;
|
|
131
131
|
color?: string | undefined;
|
|
132
132
|
};
|
|
133
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
133
|
+
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue;
|
|
134
134
|
} | undefined;
|
|
135
135
|
};
|
|
136
136
|
}, undefined>;
|
|
@@ -289,7 +289,7 @@ export declare const push: {
|
|
|
289
289
|
cc: string[];
|
|
290
290
|
to: string[];
|
|
291
291
|
subject: string | null;
|
|
292
|
-
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
292
|
+
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue>;
|
|
293
293
|
readonly '~types'?: {
|
|
294
294
|
readonly input: {
|
|
295
295
|
bcc: string[];
|
|
@@ -303,7 +303,7 @@ export declare const push: {
|
|
|
303
303
|
to: string[];
|
|
304
304
|
subject: string | null;
|
|
305
305
|
};
|
|
306
|
-
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
306
|
+
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue;
|
|
307
307
|
} | undefined;
|
|
308
308
|
};
|
|
309
309
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | 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;
|
|
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;AAW5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+BzB,CAAA"}
|
|
@@ -3,16 +3,8 @@ import { marcoSchemas } from '../../../../schemas';
|
|
|
3
3
|
import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
4
4
|
import { errors } from '../../../../sdk/validation/errors';
|
|
5
5
|
const verifyAuthCodeBody = v.union([
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
code: v.string(),
|
|
9
|
-
email: marcoSchemas.string.email(),
|
|
10
|
-
}),
|
|
11
|
-
v.object({
|
|
12
|
-
authType: v.literal('PASSWORD'),
|
|
13
|
-
email: marcoSchemas.string.email(),
|
|
14
|
-
password: v.string(),
|
|
15
|
-
}),
|
|
6
|
+
marcoSchemas.auth.code,
|
|
7
|
+
marcoSchemas.auth.password,
|
|
16
8
|
]);
|
|
17
9
|
export const verifyAuthCode = createEndpoint({
|
|
18
10
|
body: verifyAuthCodeBody,
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -459,7 +459,7 @@ export declare const marcoSDK: {
|
|
|
459
459
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
460
460
|
name?: string | null | undefined;
|
|
461
461
|
color?: string | undefined;
|
|
462
|
-
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
462
|
+
}, import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue>;
|
|
463
463
|
readonly '~types'?: {
|
|
464
464
|
readonly input: {
|
|
465
465
|
name?: string | null | undefined;
|
|
@@ -469,7 +469,7 @@ export declare const marcoSDK: {
|
|
|
469
469
|
name?: string | null | undefined;
|
|
470
470
|
color?: string | undefined;
|
|
471
471
|
};
|
|
472
|
-
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
472
|
+
readonly issue: import("valibot").StringIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue;
|
|
473
473
|
} | undefined;
|
|
474
474
|
};
|
|
475
475
|
}, undefined>;
|
|
@@ -628,7 +628,7 @@ export declare const marcoSDK: {
|
|
|
628
628
|
cc: string[];
|
|
629
629
|
to: string[];
|
|
630
630
|
subject: string | null;
|
|
631
|
-
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
631
|
+
}, import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue>;
|
|
632
632
|
readonly '~types'?: {
|
|
633
633
|
readonly input: {
|
|
634
634
|
bcc: string[];
|
|
@@ -642,7 +642,7 @@ export declare const marcoSDK: {
|
|
|
642
642
|
to: string[];
|
|
643
643
|
subject: string | null;
|
|
644
644
|
};
|
|
645
|
-
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").
|
|
645
|
+
readonly issue: import("valibot").StringIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").ObjectIssue | import("valibot").ArrayIssue;
|
|
646
646
|
} | undefined;
|
|
647
647
|
};
|
|
648
648
|
readonly id: import("valibot").CustomSchema<string, import("valibot").ErrorMessage<import("valibot").CustomIssue> | undefined>;
|
package/package.json
CHANGED